From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail115-118.sinamail.sina.com.cn (mail115-118.sinamail.sina.com.cn [218.30.115.118]) (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 F052913959C for ; Tue, 16 Apr 2024 22:50:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.118 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713307843; cv=none; b=ZYkNXkzkREejoi29TT9/HPzqSNGF7paM06aSCU7WD5Jy4sjPo+PR3kctGxdLd6cnMaEjWJy5olYqL9vMtPsOCGX1Ceis4YgRrNSvBOMZu4xe5/s0XzKyk7PhbTHln0eQPkkzAE5Gm8LS8ev06CfE6YODk9ik4MX4vdKdOBH1A10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713307843; c=relaxed/simple; bh=YeW+c02zlbQb6rsuXkQfr7/IYDgDntYzr/uY8KhNTu8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=enCXjm9Cd8WCe0mFWPFDdL+0SzbPE+xxH6HPiI87tKc+AujMknc5S3F3PLdu/5TUyDVmzJQadfOHuDykR4zTtInBpFWPqjXag/3ysJb6gFqvLsw6jQai6Lu8gkrTqP2kifB+w6pR7ZChWW+zdrups2fDX9gFp6JWzAWNbCt8yn4= 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=218.30.115.118 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)([116.24.8.68]) by sina.com (172.16.235.25) with ESMTP id 661F00B40000621C; Tue, 17 Apr 2024 06:50:31 +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: 7612834210511 X-SMAIL-UIID: E08D810DB814446B87925F5D9CD96290-20240417-065031-1 From: Hillf Danton To: Jan Kara Cc: Amir Goldstein , syzbot , linux-fsdevel@vger.kernel.org, syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org, Christian Brauner Subject: Re: [syzbot] Re: [syzbot] [ext4?] KASAN: slab-use-after-free Read in fsnotify Date: Wed, 17 Apr 2024 06:50:27 +0800 Message-Id: <20240416225027.2499-1-hdanton@sina.com> In-Reply-To: <20240416173211.4lnmgctyo4jn5fha@quack3> References: <00000000000095bb400615f4b0ed@google.com> <20240413084519.1774-1-hdanton@sina.com> <20240415140333.y44rk5ggbadv4oej@quack3> <20240416132207.idn7rjzq4d4rayaz@quack3> <20240416173211.4lnmgctyo4jn5fha@quack3> 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, 16 Apr 2024 19:32:11 +0200 Jan Kara > > Hum, thinking about this some more - what if we just freed sb_info from > destroy_super_work()? By then we definitely are not getting fsnotify() > calls for the superblock so all the problems are solved. > Sounds better :)