From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4377CC54791 for ; Wed, 13 Mar 2024 05:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vXms+Qb0a2jgxRPNKmHeGIyH/ukUFBWpaKmSHB4Gw1E=; b=jXEo+5gdaV4PtN MBYBS4OM5x3mMyyMrmEM99Zrk/hkHFh0+H1f41TY162atZFWK3B72Azv3z40gWSTF8hRh4/2ScDfq z6nhoG+j30wEzyHOF2QiUK4mCbT+bPJsfhpz1zGfxVbWUHecKxWH1+NLPelgXoIC4ysKNRDNNVsrX LdOAdXuQpcFhxqiYvHew96CFvW6XNDnrgHB97O1CbcOKRKGDDmgeP5jqnkxSh8TUePA0ToRu557as MYzGFBvTyPrrsny3+cNSRYnxlujONAoDlLrC1Z+RZGR/ruvi8mw8PSDi9qgq7AIin5WXrC245a+3T DaWzQ7p33nuT2wlwIElw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkH7l-00000008vxm-17ED; Wed, 13 Mar 2024 05:25:57 +0000 Received: from out-184.mta1.migadu.com ([95.215.58.184]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkH7h-00000008vuY-1zAt for linux-arm-kernel@lists.infradead.org; Wed, 13 Mar 2024 05:25:55 +0000 Date: Tue, 12 Mar 2024 22:25:42 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710307548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NomWHFCSkpM8sEFTgc7adym5XzSbOJbpoSf/LX/csZo=; b=P+S77Cbvb0JhiNYlZXDUJUSYMP3TsgkpGiEpqktrF95FzZmXHWLhLANGdbwC9wncQg736t FM/sbsxwdCfaaDvZj4GqpFf1tbp4nbZOcYBsvErat+rKvrpliwqeLHoEqccyiu94HH0VgU EOrbbdDhO8z4QCMVfnJG8r2iFLwHf2w= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: cheung wall Cc: Marc Zyngier , Catalin Marinas , Will Deacon , James Morse , Suzuki K Poulose , Zenghui Yu , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: WARNING in kvm_age_gfn Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_222553_979862_FCAB4E2A X-CRM114-Status: GOOD ( 13.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On Wed, Mar 13, 2024 at 01:02:10PM +0800, cheung wall wrote: > Hello, > > when using Syzkaller to fuzz the latest Linux Kernel arm64 version, > the following crash First, thank you. Glad to see folks are fuzzing KVM/arm64 now. > was triggered on: > > HEAD commit: 0dd3ee31125508cd67f7e7172247f05b7fd1753a (tag: v6.7) In order for these sorts of bug reports to be actionable, they really need to be against a close-to-upstream tree. 6.8 is out now, and 6.9-rc1 is right around the corner. Having said that, I think there might be an issue or two with your bot because... > git tree: upstream > > console output: https://pastebin.com/raw/3NCyqPUn > > kernel config: https://pastebin.com/raw/mXEg4abU > > C reproducer: https://pastebin.com/raw/N0gEqk5x This reproducer doesn't work on upstream (tested kvmarm-6.9 tag), and > WARNING: CPU: 0 PID: 711 at arch/arm64/kvm/mmu.c:1592 > kvm_age_gfn+0x64/0xdc > data/embfuzz/emblinux/linux-4a61839152cc3e9e00ac059d73a28d148d622b30/arch/arm64/kvm/mmu.c:1592 The SHA1 in this path is suspiciously the same as 6.1.61. Are you certain the bot is working on the correct tree? Nevertheless, I think the WARN and associated bug were addressed in commit df6556adf27b ("KVM: arm64: Correctly handle page aging notifiers for unaligned memslot"). Last thing -- I'm guessing your syzkaller runs will dredge up quite a bit of low-hanging bugs given how little exposure this code has had. Could you please aggregate the first batch of reports and send as a single series of email? Makes it much easier to keep track of. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel