Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp275880lqb; Tue, 16 Apr 2024 15:51:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsdmGcczpO+vXvsI1nhQKawtlSEFTmoD66/4hooCGOzZjACdrnQX6fLAoWE7QFYlmdXVdnSvv1Dh//wnedMNzhY28XXfFRtXP1j7hBWw== X-Google-Smtp-Source: AGHT+IECWMQ0AodBGvo0qO5V9rmoEDVoLXAWuEWe22kPn4V93x3AgrG49gPwseK1PCmmolBF2dsn X-Received: by 2002:a17:906:361a:b0:a52:2d81:6d1 with SMTP id q26-20020a170906361a00b00a522d8106d1mr7834631ejb.51.1713307888413; Tue, 16 Apr 2024 15:51:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713307888; cv=pass; d=google.com; s=arc-20160816; b=AFujO+EdcfVFQzPdHkW/2tQSdkr8mtUOBWJ2jqruL91lN9DBijZZiW93uhM4ZmndaP nilfolFtUxgRQKMSVcokT3eeMZUK4PK+HrOEzd0UzILcnPJ2SbrFcLOus67c9X566N0e 2HJXGH6sEo1jv6ZL9RO5iceOngbgfjStOKqQdyAuxg4+GfoQCR4O8eSKqu+WizTcNXG9 vTZZLxoyYq8e/z96IX7aGWRjcosi1hokcj+D4f/ngvU/BFti+Ymkqa2Yd57x9ZkIxX9W PUmUh3Uze3UL3NpKdmeqX0wTH9SQUUPhIC7Z45gwQj65IxfhaeY7BPPmnxsLqNUBgnyg wiFA== 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=YeW+c02zlbQb6rsuXkQfr7/IYDgDntYzr/uY8KhNTu8=; fh=CiK8pa7zkKgtHfOyFNho32dkez4ARHqPtPU1rB4Af4o=; b=L08syFAzYdOfZHcKWUvh5BcfHEbDPsp2yXISt3so/EzrOKA6qRgNU44sbnFEbobwwx NgC8v2akmMIOzO4vI+RASxAsRwNBUHq+kKl8/4zqQb1Msx5RCepy63rgb/9Ws9q0+/Kd uTQy3UWtZG264WuDequhFZ/oL2s5oiInvUWB8e+iF5B5xmR4pcnK8AwL8W09oDP99oJr U2kPVnuGnBmLlS0aYoQuaMOZcRIZpBDsJ9ohzx0VE9fTG9zUXCb1BQi9/iGxpaxFer2A EG8w9D/pNMqPdjEbzvj+vbMxXGm4IG18dSQz+fM7GOnrbJOLe1wd3IlakEtvxnhymjOt BnbQ==; 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-147722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147722-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ne7-20020a1709077b8700b00a5247957127si4401246ejc.809.2024.04.16.15.51.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 15:51:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-147722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147722-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 296AF1F23A4F for ; Tue, 16 Apr 2024 22:51:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CBAF13A400; Tue, 16 Apr 2024 22:50:44 +0000 (UTC) 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 :)