From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp153-141.sina.com.cn (smtp153-141.sina.com.cn [61.135.153.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B426A212B2F for ; Fri, 13 Feb 2026 03:39:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=61.135.153.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770953968; cv=none; b=Bzp+diPK1quP2DQDiGvj8ak3RnNbUTxR6dh5OeZPFYLAR+y1T9OXz8qXAFdCVwMNcXBrmLhtEBggdvwLHxLXMfreME7K+FNaaV8Sc+uYJFNo/ONY6ax34rR8cUcvFOU1YBhNVLcxcayXKJXmtxnnSDln75EGBLK3CcvZDoauEnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770953968; c=relaxed/simple; bh=ftN+PNkASPpGdBF3ZONXk1npdKAkoyaHoZgCtXD40wg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Uwj4RSXjpAq7yEvfdwEq2XNpBHN6yfNP7hziK5I2xdvewJwVzC8LjsHfAlTlnaKI6SzlhWJe/uVnpRMeoOZ0+hGfqXt2hgqD/hSVAqGlxqjwP/Men0NpT25cfGF7CgUOmzqM6qE/wcwe4fK8QQpDDLuS3uXKEX9hZ4GmEEK4xFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b=xKK29SJT; arc=none smtp.client-ip=61.135.153.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b="xKK29SJT" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1770953962; bh=RPBX04AfOvFamEltAVKMiWVrRsKs3tioGDsjFGBenaY=; h=From:Subject:Date:Message-ID; b=xKK29SJTrAJHNTyj4hFEghtEYcJ9fyZj6yV6baFsOPqYTJBJubym6GGUA4IqtlBFe h5O/94+jBtPWVG8zR8P0tjiFfBMXragf/ggtxM0PmsNsHXCleyoEJMu/tNOOM8NwBV bhdZtui5rfttQMiMff+5R1bwhHW/BnHh4BOGsj5c= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.62.144]) by sina.com (10.54.253.31) with ESMTP id 698E9CAE00005407; Fri, 13 Feb 2026 11:38:24 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 8978036816267 X-SMAIL-UIID: F239C7AA975642149B30A013D8C93425-20260213-113824-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [mm?] KASAN: slab-use-after-free Read in mas_walk Date: Fri, 13 Feb 2026 11:38:11 +0800 Message-ID: <20260213033815.3016-1-hdanton@sina.com> In-Reply-To: <698e287a.a70a0220.2c38d7.009f.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Date: Thu, 12 Feb 2026 11:22:34 -0800 [thread overview] > Hello, > > syzbot found the following issue on: > > HEAD commit: 192c0159402e Merge tag 'powerpc-7.0-1' of git://git.kernel.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1304cc02580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=aaa1d655bee4457b > dashboard link: https://syzkaller.appspot.com/bug?extid=54245a237762e7cbecf0 > compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13d40ffa580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1704cc02580000 Test tglx's fix. #syz test --- x/fs/proc/task_mmu.c +++ y/fs/proc/task_mmu.c @@ -780,7 +780,7 @@ static int do_procmap_query(struct mm_st } else { if (karg.build_id_size < build_id_sz) { err = -ENAMETOOLONG; - goto out; + goto out_file; } karg.build_id_size = build_id_sz; } @@ -808,6 +808,7 @@ static int do_procmap_query(struct mm_st out: query_vma_teardown(&lock_ctx); mmput(mm); +out_file: if (vm_file) fput(vm_file); kfree(name_buf); --