Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1263563pxf; Fri, 19 Mar 2021 03:14:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysVUD/TuoYRQCFV1ve4oSkjXooD6UPsbQ0Jl4Rf/+AUc1U09zLv6GzmSOLpUuhST0bYx0X X-Received: by 2002:a17:907:119b:: with SMTP id uz27mr3359274ejb.464.1616148876486; Fri, 19 Mar 2021 03:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616148876; cv=none; d=google.com; s=arc-20160816; b=KXblvR7mRw4p2NNcRYjPcY1HL9ngaSMkxNiVkvIEty10DWMZZnTSluSKxjlDiMfgAF 1GxeopGxz8ZistCgEK27you8g8LulGO51XR4toEoYiwxJXTueUyUEWv5mYU4CMoK6z8k Cf17xJzLf6iewlEBc6eX4CAta0PfAU5YczdlTC3elou8UyQ48XzhLfR5pgadFFi+GEQO p6xJe3OZxoibot/FeSIM7zFE9EqU55XEYQfRrgQHziXOT7jJCZ/N0uxs/9T6KHmDu7D4 PRHqToDKIVkAkGLR5ygOu4A9NdLJQWIzItpQA6jKXRKRiLCGu/crIYPkh/doLE0cyzOM ersQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KdBbV8/OXWtTCcyd1IKKVkbLO4A09JYxnlTNuWCStG4=; b=q58Kb54r7bOYj/OlH3yR0nJ5wwMHzKWZ0uI61RBWnnBQNnERRNxAl5JaFTiGdL1wb2 5X9GFXqehogRNrs15D52+azCQKwcFMj+1Au1Ctz+CRE1Ybe7shh8hg/baH1Sa+fTMMau OUnqr9DTHCCszGevfNfUX3PWJLveRS+lcvFGLBvUwn6cwnUeKGH/fqq7rx3czBiebJM7 pkRUd93BsuvVeX0Kz3ZCMv6KQC+/zwW9DAf282BD//CnaqsZklQx+arc+d8P0WZUbwhb YYzTQMVPWFhJNhHV8A8mnnRSXtMHh5qvkkLuw4T7An2emFKOzzlsnTKwsUHngCgLNAKt eZyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="VeLnxRR/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd22si3540407ejb.384.2021.03.19.03.14.14; Fri, 19 Mar 2021 03:14:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="VeLnxRR/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230080AbhCSKLI (ORCPT + 99 others); Fri, 19 Mar 2021 06:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbhCSKLC (ORCPT ); Fri, 19 Mar 2021 06:11:02 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE4AC06174A for ; Fri, 19 Mar 2021 03:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KdBbV8/OXWtTCcyd1IKKVkbLO4A09JYxnlTNuWCStG4=; b=VeLnxRR/h1WJz4HSq3i94YtI2 nFJG+kq846qcwC1V/Gz8Z+p4etwrafqoDtXTjLCWhtRvtRSGCh3yD9kpPsJl91OJy7w8C6kPI6xCr P8b3urGPiSgOWfFiu49lol13VD1pM4U/k2p8ZIdrWacwpJEKEz7WfHl+Xu8NR/r6QQhTiOu4hJmc0 eL4j3TIzjt7+mb8jInW7ezhTWyQHKn3iSo88D7EU7PEhddtYwl9CL42hYUZ388YOf3ivV0NFQ0CQO 24fzhwUEk4pvsI/sDC7gA/0mFuL6FT6HnDCjgmRzxC12XPGseZcf9jprql1PZn53VZCICRkDRqMGc n9m0R2IOA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51474) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNC5e-0004HU-S1; Fri, 19 Mar 2021 10:10:46 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lNC5b-0000Ue-8W; Fri, 19 Mar 2021 10:10:43 +0000 Date: Fri, 19 Mar 2021 10:10:43 +0000 From: Russell King - ARM Linux admin To: Dmitry Vyukov Cc: syzbot , Mark Rutland , Arnd Bergmann , Linux ARM , Alexandre Chartre , LKML , Masami Hiramatsu , Peter Zijlstra , syzkaller-bugs , Thomas Gleixner Subject: Re: [syzbot] upstream boot error: WARNING in __context_tracking_enter Message-ID: <20210319101043.GU1463@shell.armlinux.org.uk> References: <0000000000004f14c105bde08f75@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 10:54:48AM +0100, Dmitry Vyukov wrote: > .On Fri, Mar 19, 2021 at 10:44 AM syzbot > wrote: > > syzbot found the following issue on: > > > > HEAD commit: 8b12a62a Merge tag 'drm-fixes-2021-03-19' of git://anongit.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=17e815aed00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=cfeed364fc353c32 > > dashboard link: https://syzkaller.appspot.com/bug?extid=f09a12b2c77bfbbf51bd > > userspace arch: arm > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+f09a12b2c77bfbbf51bd@syzkaller.appspotmail.com > > > +Mark, arm > It did not get far with CONFIG_CONTEXT_TRACKING_FORCE (kernel doesn't boot). It seems that the path: context_tracking_user_enter() user_enter() context_tracking_enter() __context_tracking_enter() vtime_user_enter() expects preemption to be disabled. It effectively is, because local interrupts are disabled by context_tracking_enter(). However, the requirement for preemption to be disabled is not documented... so shrug. Maybe someone can say what the real requirements are here. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!