Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3313057pxv; Mon, 12 Jul 2021 14:31:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNOpj23Hj83A5MAzOxm6bIVOE1p87dzUbvng54/eFh65LW9Xe1Ed+KOhBxHMGqCKc6KIIk X-Received: by 2002:a92:d10c:: with SMTP id a12mr622831ilb.100.1626125476889; Mon, 12 Jul 2021 14:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626125476; cv=none; d=google.com; s=arc-20160816; b=A9B+ZhIJnqkHvsM9tc7UjLI0p5lKchHJ2qwVqaavDQ247DyvpH2M2/b76FxQUB7hJs TdafRLHW1+p1B2xnwl5DTcxmsXaQru/Dh+dJgImS7cqjXBleaQgmds9AGfLIwYj7cN1R 3lqqHGvUyiblvJHexHgcDjJ1JmnD1BMXxbfycxYqugH+mEwzRGmp6Fto1cEfeQv0iYyy UZb7Gy+hJYWbZD14YNwyJSQbqvpFUWlu4lEPfVa6H/vYCuDa5FitV6CZ4ZLrYPQZK3iM 5P0KOCQps221HQxNjCjhjxwwBMz9vyzCGG5EKEh8qIXVHVAEogqagn99Vsc8he6BIp9x lgOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BkrEyH8mx/bHbUobUw8cYQvGucPnsXvj9PS56zkSVhs=; b=GxrKCIl4BwB26i4nEWCfvoMbO9jRyrorflJNkMYzp9wc7LXnjg2vpPw/uZ6Y5SPXBK i+iabHoQVGuYaF5bhC4ilqdZXLdnYPG2RjJoQLTXtAMM0Mg/DREkBlruazkZ5lPgqn8v DeUEoemmU8bbk5UePRQ6dQuSSg8w7GpnqKxB8uzS5omT+Vu1caqj6pf+fAP/KO9RrumJ /7X1zoNZwpauIDwzPilQjzLT+VtpfnjIqeSAhuK8qua5qaMRI85McdRyhYgrlaV9DZGw im0Iwp3YvDOdtolYRfAIYUOSDe5AVdwjTxMoxEAZuQdGMzogdXDvcBxO4r/FozglOOQ3 UQaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=i86YDTFr; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si18419850ilu.160.2021.07.12.14.30.59; Mon, 12 Jul 2021 14:31:16 -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=pass header.i=@google.com header.s=20161025 header.b=i86YDTFr; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234470AbhGLVby (ORCPT + 99 others); Mon, 12 Jul 2021 17:31:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbhGLVby (ORCPT ); Mon, 12 Jul 2021 17:31:54 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D84C0613E5 for ; Mon, 12 Jul 2021 14:29:05 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d1so4741871plg.0 for ; Mon, 12 Jul 2021 14:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BkrEyH8mx/bHbUobUw8cYQvGucPnsXvj9PS56zkSVhs=; b=i86YDTFrzCB8hKMQLuztVM4IusV7JV7AaSwYHZ+aEweXflP4cc43CdY27Su2zLewUQ +U6QNy+rkr4apla529EPqkEN+6fSW4CjZE2ATIBrHN+TYcGXy0oXtmvtyGywGViYO3s9 8VHlNR4DghsQIqknI4wlrSquEuXpHr6Hu1tdVAnqOZv12yfM0Z7ItkOH+hd69AsCuyr6 3bJ+BG9pVaiYgwBvvpeFoRZxmeMKeyMHw+Gy6Uf09I+yANMzw+mXxDObIcqbbqbxMHuu V6PXQiLcBuQrypfTuLNtaotbtfRrumV9nu8zLWCotFefk9W3p2r0ktYzpEDulg2kKJ63 sFsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BkrEyH8mx/bHbUobUw8cYQvGucPnsXvj9PS56zkSVhs=; b=EfhbCMJ2712BcN6IcQdQAQvjLJQMItwECbRckmdQFT2AMXEiSV8asmJ3OxHwthkoze 2UQAAe5ycj6XvYPhEDmkRdiGsMXDTWtv8li6s5LqYBTeM/POu5VDksDjoPs/cOImTpzD rl1qqMAETs9JC52VVD4/pL3nj7ifOmPag+V0dpJSZeWGDh9+usYyIida7pYnGglp7/ek hp3QRebaSZXviQJC3CEHMX+lkCFuhhr6bK/UIjA3fIjwMG2aWkZWUFHosjlJX6yr8IUX 73zdx1oLRz4mBliPl7937oBciBjNNCCwA/Ay7I3sPhlbbTPkrQyVpeeyOJp3ovW1iCyy fVfA== X-Gm-Message-State: AOAM530bKRFBzfLtBGgjnvM1RIS7fhYMazwzRSQdr/MoOnXiAUuqhaB/ 9v7BTdC/r6GXze6f2PvghDBekg== X-Received: by 2002:a17:902:8c81:b029:129:a9a8:67f9 with SMTP id t1-20020a1709028c81b0290129a9a867f9mr835809plo.79.1626125344703; Mon, 12 Jul 2021 14:29:04 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id a6sm15660458pfn.1.2021.07.12.14.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 14:29:04 -0700 (PDT) Date: Mon, 12 Jul 2021 21:29:00 +0000 From: Sean Christopherson To: Thomas Gleixner Cc: syzbot , akpm@linux-foundation.org, bp@alien8.de, hpa@zytor.com, jmattson@google.com, joro@8bytes.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, mark.rutland@arm.com, masahiroy@kernel.org, mingo@redhat.com, pbonzini@redhat.com, peterz@infradead.org, rafael.j.wysocki@intel.com, rostedt@goodmis.org, sedat.dilek@gmail.com, syzkaller-bugs@googlegroups.com, vitor@massaru.org, vkuznets@redhat.com, wanpengli@tencent.com, will@kernel.org, x86@kernel.org Subject: Re: [syzbot] general protection fault in try_grab_compound_head Message-ID: References: <0000000000009e89e205c63dda94@google.com> <87fswpot3i.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fswpot3i.ffs@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 08, 2021, Thomas Gleixner wrote: > On Sat, Jul 03 2021 at 13:24, syzbot wrote: > > syzbot has bisected this issue to: > > > > commit 997acaf6b4b59c6a9c259740312a69ea549cc684 > > Author: Mark Rutland > > Date: Mon Jan 11 15:37:07 2021 +0000 > > > > lockdep: report broken irq restoration > > That's the commit which makes the underlying problem visible: > > raw_local_irq_restore() called with IRQs enabled > > and is triggered by this call chain: > > kvm_wait arch/x86/kernel/kvm.c:860 [inline] > kvm_wait+0xc3/0xe0 arch/x86/kernel/kvm.c:837 And the bug in kvm_wait() was fixed by commit f4e61f0c9add ("x86/kvm: Fix broken irq restoration in kvm_wait"). The bisection is bad, syzbot happened into the kvm_wait() WARN and got distracted. The original #GP looks stable, if someone from mm land has bandwidth.