Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53F18C433FE for ; Tue, 11 Jan 2022 19:37:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236743AbiAKTh5 (ORCPT ); Tue, 11 Jan 2022 14:37:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236583AbiAKThz (ORCPT ); Tue, 11 Jan 2022 14:37:55 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3B4C06173F for ; Tue, 11 Jan 2022 11:37:55 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id m13so688973pji.3 for ; Tue, 11 Jan 2022 11:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zGHwR3NiHUMCCbtobgvdiBSkcpXAF9setwIu+L+2NTg=; b=TAGb+YJCDXlRtjUQUm2H3TX+eCODYtkadlIc0LARHDTdwUNOaWlnYbVItKV6ZFEPr1 cuhzonW3+Xc7Lf7v+78erPe+pjaUtCwGPGGBf2S/Ag+bsztSgmMctA1FRKkWbQNWn747 /D+C2lPI1EFydZQN/VawKEj+VK2qkoVFMN/HYpgf6RHy9snvnbMN4w8lZsR+BcvVVbqB FcjVWcUwz/5eaIfUo/mQZjQ5bb3IauEUxfNZriFqV3CCuS5sRmU4qA2sUpY87UBRe1vb taAuwPX6zJ7hkBg2eryl243n1O5zePA+QqV3lsOKtjyDKIJADikzb8vHLdYV4Laae6He m4oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zGHwR3NiHUMCCbtobgvdiBSkcpXAF9setwIu+L+2NTg=; b=DECgEYHeZG6OHYlVk6UT4biK6dtHZnzAuhYgAkdAy0ie0rWJ/By+o7sAJxs4BvaMyT TPHuB/MdF8qjUl26/m+LVj3YiB3obgfwkwfdF7YZ3iMRuC4UkKjhnMjaIq8EYlkfD0Qu FRjUCaZbzDe2Qrrzb2lRxAxAGoGcLyklacXV0/R+WFwAP5lfsU+JBp/NDSkkC4COiokR Ohh4TKL7X3ch0CopUzq9hqXimxh+IyIU0h3w32ijjJC/a6g+o7AP5bYj8EtDyLzkwL3o YBeuA/BRWABxOobH5LCvx9LHtiCjlRYX16/WE1lIJH00pT+s3xciV1B+ONyM/e5Yx3jj L0pA== X-Gm-Message-State: AOAM532wlA3jONuf7DnlbSXKzQJA3iyY6RCslA9bb24OdBDDcBUaIuyN Dd6/gNGycbFs/CGxrxF/VmQpSA== X-Google-Smtp-Source: ABdhPJyAO1F86LpATpX13rxQnWzV7BjRnUO+onBahR+oWSETlxXBbl1cZjhcoNjBfMW72JaI3Dhm8Q== X-Received: by 2002:a17:902:c410:b0:149:577c:2b08 with SMTP id k16-20020a170902c41000b00149577c2b08mr5957188plk.108.1641929874631; Tue, 11 Jan 2022 11:37:54 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id rm2sm2010382pjb.13.2022.01.11.11.37.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 11:37:53 -0800 (PST) Date: Tue, 11 Jan 2022 19:37:50 +0000 From: Sean Christopherson To: "Sabri N. Ferreiro" Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, sunhao.th@gmail.com Subject: Re: WARNING in kvm_mmu_uninit_tdp_mmu Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 09, 2022, Sabri N. Ferreiro wrote: > Hi, > > When using Syzkaller to fuzz the Linux kernel, it triggers the following crash. > > HEAD commit: a7904a538933 Linux 5.16-rc6 > git tree: upstream > console output: https://pastebin.com/raw/keWCUeJ2 > kernel config: https://docs.google.com/document/d/1w94kqQ4ZSIE6BW-5WIhqp4_Zh7XTPH57L5OF2Xb6O6o/view > C reproducer: https://pastebin.com/raw/kSxa6Yit > Syzlang reproducer: https://pastebin.com/raw/2RMu8p6E > > If you fix this issue, please add the following tag to the commit: > Reported-by: Yuheng Shen mosesfonscqf75@gmail.com > > ------------[ cut here ]------------ > WARNING: CPU: 5 PID: 29657 at arch/x86/kvm/mmu/tdp_mmu.c:46 > kvm_mmu_uninit_tdp_mmu+0xb9/0xf0 I wasn't able to reproduce to confirm, but this is more than likely fixed by commit 3a0f64de479c ("KVM: x86/mmu: Don't advance iterator after restart due to yielding"), which didn't land until 5.16-rc7.