Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp47432lqq; Wed, 12 Jun 2024 16:17:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVngc401TlQEp6U97JqbGJOa7QEdq9xEcg50cbD0Y7/RX7RrN8O2Kkt5XUv/+QaFvcPxxXb/1WQnv28WktgLkR5YY9F+vxR+fIz3XcrOA== X-Google-Smtp-Source: AGHT+IHoYzbOW+XowtWu844+5H3BNgUzzf82NEABp0e2IcdLxguSWLRV8xobRuYfRjoqbMdjYUVt X-Received: by 2002:a05:622a:81:b0:441:2a9:4d12 with SMTP id d75a77b69052e-4415abe5265mr30506051cf.23.1718234229431; Wed, 12 Jun 2024 16:17:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718234229; cv=pass; d=google.com; s=arc-20160816; b=RXgJ2icVxKIygnucPnJ8UDMxEM7OSGJz5VFNza8mfty2hCjTyEIAwfOp0sIuROGUl+ XaYgb+HzRowrI+EsNQgS2dpZI9gjDR9Yo4flJQmAOEAFSQLdtrg06aU2ItCBk/BCW1zZ r0CRovpCtw5z1SqaD+Ko31boussIE4/h8STXaNORVD2r2YFnuLubvFI7UOPqjjI9jjXJ qkH7huP+I4prmD3a3su1khvVmo6l1ocNhSfQXOEjl/aKBVmG2g2z8kiHzgI6Smbf6gFv t11qUANuD5fK2y9Tq50K+TCDTOfMLylevjERs3lectnr4nU/6D448YtDl89ScbIN4eZq 6nVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=LlReJPzZ1r+HWyXuBmxVxsp5RnvO2K2cYmI3si5fFDw=; fh=saDFzb8XH/fsyCAPCgnXHQYabHFgY8pQa56eeXK7xBY=; b=w4qVHly77bbeoUBwKeTpku9HO1ObvubDCsD+i/uU1vUCkO4lKGqKUvbXr6FdpYCVgo MsQpRNCUDfGsEiXW7r5re2VRNNPpM/Nmccqw1lAi/wd8AfYIN+Co8j0Ot2Rrb3GihoQy DzsNeLGqupgMP0hTqi0M7fZDLDrtw9Vm0A0zdIBRlLELyqWQfcaS2JGceR/v4vaWwB1h PDyKxKbOZ9ZeqGiuk75gd4Bp68RUuO1YeFxK1J2O04lmXv9kn9oZML31/MMIyN+B4LFr cVsvFQjP9S6rBnhagIUkSttEviL/TpiveXeHW/e0Y95aurx86Xf4NH2kh2OPBDFzDGUs cwTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-212353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212353-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441f2fbccd9si1884431cf.471.2024.06.12.16.17.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 16:17:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-212353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212353-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1361E1C212DE for ; Wed, 12 Jun 2024 23:17:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0249412C499; Wed, 12 Jun 2024 23:17:04 +0000 (UTC) Received: from smtp134-24.sina.com.cn (smtp134-24.sina.com.cn [180.149.134.24]) (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 1210241A84 for ; Wed, 12 Jun 2024 23:16:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=180.149.134.24 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718234223; cv=none; b=Z+sktED7E+PZvFa8Wb5MCAAcBG60ZaGmPGVyPQc4AQOW5sfV4VEWskcNMIHOhzMuDoQGM/bLheUK72cVQjauf38swLxCsQgDRYul591g9L4YuFQlazRRLPM/OHAt7IfKir035WBXoBywvitpcOm7gYq7ralTx07ASp47o20Oxw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718234223; c=relaxed/simple; bh=GMYBDiIRO4QCtnSJYbtRbqxSJT4qrtVLyXUm49d6ezM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=besYt3BjsHMnwc1P5jgO0i6KI59+2TBXJgtoyd1oOMP6w76Eau0QwfvDYZfTjr94OUlCXmQfJfTKYt/0bWbDpVn9QZtg9mANtAkG5ONmctYtoyoPg/mYYog0d/K6pUSF7QGYH2QewlbaMZZZuVb738LItUBwp9xlPeuJ4pJRiL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=180.149.134.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([113.118.64.164]) by sina.com (10.185.250.21) with ESMTP id 666A2C5B00002451; Wed, 13 Jun 2024 07:16:46 +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: 706263408424 X-SMAIL-UIID: 1CF89B0D61EF49B9A9477140D6C28FBF-20240613-071646-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [nilfs?] [mm?] KASAN: slab-use-after-free Read in lru_add_fn Date: Thu, 13 Jun 2024 07:16:34 +0800 Message-Id: <20240612231634.2311-1-hdanton@sina.com> In-Reply-To: <000000000000cae276061aa12d5e@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 On Tue, 11 Jun 2024 11:10:20 -0700 > syzbot has found a reproducer for the following issue on: > > HEAD commit: 83a7eefedc9b Linux 6.10-rc3 > git tree: upstream > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17c645e2980000 #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master --- x/fs/nilfs2/the_nilfs.c +++ y/fs/nilfs2/the_nilfs.c @@ -922,7 +922,6 @@ void nilfs_put_root(struct nilfs_root *r spin_unlock(&nilfs->ns_cptree_lock); nilfs_sysfs_delete_snapshot_group(root); - iput(root->ifile); kfree(root); } --