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 62F15C54791 for ; Wed, 13 Mar 2024 15:54:36 +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:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tMuQ5D02ZHtnO7smN8WScg6MwPajkSPV7egxethQto8=; b=gHSOs3rA0mPMz1 xs5r8bu5+BIdwyhsLUcaoCL+woU3m0b7s3Hygjm4eNC4B4iSMwN5McPN4aGcuMSvAduTjeKkBPLbO 2GeOA96RVUoJe+ufRrfkbQWzLXyskjeMi2jXYyz35FfQkUjyHEtNUQ8k7ysVScTZ+1gpkN473gouL DzW+jwFGN2+XgHksS9HD4yDI81/xs0Ea1PPHED0nq+dsnwQmY9HszccsAkGjap04HK2VHVM+M5IgC /nztxjZPS7PlgDNHlzKcQpMXVp59xbeNDeTTikfcN3HAXdLPlBia6JT/ztX/QBDjct5OFKz0CQPJy xeELNZkZamwtgSnbwJMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkQvu-0000000Ag35-0Ivb; Wed, 13 Mar 2024 15:54:22 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkQvq-0000000Ag2K-3mb3 for linux-arm-kernel@lists.infradead.org; Wed, 13 Mar 2024 15:54:20 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BB3EC6140F; Wed, 13 Mar 2024 15:54:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66BA9C433C7; Wed, 13 Mar 2024 15:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710345256; bh=yCPcm0HuACe7Ylcl84l9GUNnikcf7P+tj8+cPMTT1gw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mxj88dHc33oAxVBxSHr88C5zoxchwh2o2neCu/oC/+61SIFU/4RmGQ+A1DG8z5YJn fKvYkA8piLJN2vAye9c8K2mulAYh7BB62yMwlLRsd2hBByg8r/2ehaHOwb+k6KrPa+ RamzaIzG7oNKH0YdXZTNgXkFAHniAsk+Hb6nDT6Ebg5kAHmCaLgBslSZMaTciVf+Su 3bGr9hxMttOWS/IqAMhp9g1SXvJoZbCL4aQv2rBG2dxi2FSo2/qtHLlfJb91hHrVmI Xf4MosYqY69TwWn5EVoB1zVKLYw+/1LI3JAQOTG4JiJN8A5qHwNPKqVbDv9S79K9hc RgGZa7geV9heA== Received: from [209.214.232.173] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rkQvl-00C75Z-IU; Wed, 13 Mar 2024 15:54:14 +0000 Date: Wed, 13 Mar 2024 15:54:07 +0000 Message-ID: <87ttlap1pc.wl-maz@kernel.org> From: Marc Zyngier To: cheung wall Cc: Oliver Upton , 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: memory leak in kvm_init_stage2_mmu In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 209.214.232.173 X-SA-Exim-Rcpt-To: zzqq0103.hey@gmail.com, oliver.upton@linux.dev, catalin.marinas@arm.com, will@kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240313_085419_164427_1BD7C66C X-CRM114-Status: GOOD ( 18.46 ) 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 On Wed, 13 Mar 2024 04:53:52 +0000, cheung wall wrote: > > Hello, > > when using Syzkaller to fuzz the latest Linux Kernel arm64 version, > the following crash > > was triggered on: > > > HEAD commit: 0dd3ee31125508cd67f7e7172247f05b7fd1753a (tag: v6.7) > > git tree: upstream > > console output: https://pastebin.com/raw/MLVZbN01 This reports "Forbidden". > kernel config: https://pastebin.com/raw/PFD96ZwE # CONFIG_KVM is not set How do you expect this to work? > > C reproducer: https://pastebin.com/raw/rHmMzvGt > > Syzlang reproducer: https://pastebin.com/raw/dAt714WD > > > If you fix this issue, please add the following tag to the commit: > > Reported-by: Qiang Zhang > > ---------------------------------------------------------- > > 2024/03/05 18:24:34 executed programs: 0 > 2024/03/05 18:26:41 executed programs: 8 > BUG: memory leak > unreferenced object 0xffff023ad74b8100 (size 128): > comm "syz-executor.3", pid 3911, jiffies 4295149819 (age 22.132s) > hex dump (first 32 bytes): > 28 00 00 00 01 00 00 00 00 40 4e d7 3a 02 ff ff (........@N.:... > 80 d9 5f a4 48 d3 ff ff c8 69 46 d7 3a 02 ff ff .._.H....iF.:... > backtrace: > [<000000008d295845>] kmemleak_alloc_recursive > data/embfuzz/emblinux/linux-4a61839152cc3e9e00ac059d73a28d148d622b30/./include/linux/kmemleak.h:42 [...] I suspect this report suffers from the same problem as the other one, where this is actually against 6.1.61 rather than 6.7 as advertised? I ran the reproducer locally on 6.8, and didn't observe any failure. I had to modify the it though, as I'm using a host with 16kB page size. Please let me know if I'm missing something. M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel