From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796340012; b=G/ahRUmZl26FSA6oUjho8TuUMLsYh2gzmChM5G08z/pxuyFzj2hhh+nphaM72JDe9gnQ 6bMkwnppaLhFxPWZDqIXsJsHpdrGmZr/ar/vZRl9XncI98vgKtR1oh2rNlMUX9Tf5vR9J H32+6TDztec19W0M1Lf5qOVsx3qalCSbBONTgQJq87tgc3TZioTgEfXI8nNW+j0vZ3ucw BtdwT7E3mgnrdyQ6Xw4hOdJ9AMY4vaAlK5A+EGNty/Jvqzhtzgg4pbTSZk9YYzV3Hflz7 RuKl1LAeQHrkohYXru3No+w8IexXMfc4xf3olssnGvQo4hphs61QH44rtwbHn8LpF2g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796340012; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=FqUjW16kNwObLGeXnjuBpWjS/aZZnHY6elF7AFkOhfA=; b=g++Fr7NC3vNnguQeheB5JJc9KgSMC8ukQIOT7VLGrk3s5wCg7M/wgUsiptH9JXr1MJPS X2uFB3caX7hmySZwLEf8CR6735u0LVuGqMJDKJLKiMl95LGDXpUyfnP2MUJp3IfGAnJ37 U+9aWa6FAwFqnngy381d6CnBuDapQHHnR+51ICRdo2Jra50BgdntNnF+iAPD/SQCV8BGj B38p/U4wyuBb8rCcqdFNkotKhSLXKGvs5zD331dtd62gKO74rWHnDMSvTLTPZm+fwBI0Z 81VRRAoD3H7M0P17UJrbA5hF5CqkWwXFtsymuGPbup8CZxb4fA3O7jTWg3YkR2fGMWw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IHnwY3sr; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08F97606A32C; Thu, 3 Dec 2026 23:20:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IHnwY3sr Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0C071F000C2; Thu, 3 Dec 2026 23:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340011; bh=FqUjW16kNwObLGeXnjuBpWjS/aZZnHY6elF7AFkOhfA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=IHnwY3sr/yxT/ReZrjL6N41s9kLQpOLTSRcgy/ji0cA73YgvdC0wbOFiPs5qIbzK+ Myh9Vm+hl7GaF/kmVL2kVt4jnsH8pFnzOx2DIXan8wVSMQAQLGgk4zsvhnt2q8IqW9 bv8NfdktRL/NjGLUyWLsZ5T3phiMVF3fx/8P3KeJVwGbk7hDTE6MrUHMHSwjgXqM+0 iK+4nGS6YmFoQ23ykVv6hmJ+YMEE8GIOlf4uVZgT9EyQGgxhvYzrL0RNnf2LmYfYqn etoz2Dikz0LQ5D62M03kyEVQ70HvCEro0UpQlaiZL2Pm6sJq7lLDVQhtv60J34WLKp yeOx9Im3BLxGw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96B04391B141; Thu, 3 Dec 2026 23:20:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: fix to reject inline_data inode which has blocks From: patchwork-bot+f2fs@kernel.org Message-Id: <179634001028.710291.16568275158263146663.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:10 +0000 References: <20261122153636.2731348-1-hengyul@cs.unc.edu> In-Reply-To: <20261122153636.2731348-1-hengyul@cs.unc.edu> To: Hengyu Liang Cc: jaegeuk@kernel.org, chao@kernel.org, kth5965@gmail.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Sun, 22 Nov 2026 10:36:36 -0500 you wrote: > Commit c240c87bcd44 ("f2fs: fix to do sanity check on blocks for > inline_data inode") made f2fs_sanity_check_inline_data() return false, > i.e. "sane", as soon as an inline_data inode has blocks or node ids. > > However, the function returns true for a corrupted inode, and that > commit meant to detect exactly this state. The early return also skips > the older checks that reject inline_data on a directory and on a > compressed, encrypted or verity file. As of now, such an inode on a > corrupted image is loaded, and setting this one bit in i_inline of an > inode is enough for the following: > > [...] Here is the summary with links: - [f2fs-dev] f2fs: fix to reject inline_data inode which has blocks https://git.kernel.org/jaegeuk/f2fs/c/ba463915425f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2533F606A686 for ; Thu, 3 Dec 2026 23:20:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.a=rsa-sha256 header.s=beta header.b=d5GlgcxP; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.a=rsa-sha256 header.s=x header.b=UXUJ6qZP; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.a=rsa-sha256 header.s=x header.b=CD+zHfx0; dkim=neutral header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IHnwY3sr DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:To:In-Reply-To:References:Date:Message-Id: MIME-Version:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=TcdxqZ8mfg7OacjSXsEkltfwybGKUnGCWAurKwUHOeA=; b=d5GlgcxP+oHo3d JyoY1HJL1lnFjsDkG4GVM7cmQ3tl16jaWM2kddZszWqimWEJtFoiJ+XGHqCIiz9xzkv0hoSXq+IsV AEqX6OLPh6VgqZToatagcUV7dt5QF6+IdtFVRbk1VZfWIPy6qGb2FWMaeXw87REgUrhkTRxp6q2pl X5M=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xZG68-000000000LE-3gdF; Thu, 03 Dec 2026 23:20:20 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xZG66-000000000L7-3A4Z for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FqUjW16kNwObLGeXnjuBpWjS/aZZnHY6elF7AFkOhfA=; b=UXUJ6qZPiajnDQeW5FcdERUrS2 uOl8WVYM4ONAYcYWLEiUQglnFzj8cB0d3TNLd2nM4tDul+ksoqq44zEdrh3YQuCXoEYdyGLyjFP36 aG5dCRMtgY6JYTD0KuRKw6eILzp6rOh+6EA4C8jZ54L5vlulgRH5BiLT4xLftbIj2KNs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Cc:To:In-Reply-To:References:Date:Message-Id:From:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FqUjW16kNwObLGeXnjuBpWjS/aZZnHY6elF7AFkOhfA=; b=CD+zHfx0JTTGLOZXm5OfapTg3F 22uN0vKgeHG8wlL7X6JVpYylQW2CDHhd70zZTxx9CEgvlGVVR17X41DQ6T5Bi/gKl50Fc/KtGBKMB iV2Pxdi7wnt3cQFkrj74F+PkRyRASkf4lfq1OlXwPv6SqST2uOsu2w0Y4dxXVNp/dNPE=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZG65-000000007fL-0DpT for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:18 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id BB6CB42286; Thu, 3 Dec 2026 23:20:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0C071F000C2; Thu, 3 Dec 2026 23:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340011; bh=FqUjW16kNwObLGeXnjuBpWjS/aZZnHY6elF7AFkOhfA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=IHnwY3sr/yxT/ReZrjL6N41s9kLQpOLTSRcgy/ji0cA73YgvdC0wbOFiPs5qIbzK+ Myh9Vm+hl7GaF/kmVL2kVt4jnsH8pFnzOx2DIXan8wVSMQAQLGgk4zsvhnt2q8IqW9 bv8NfdktRL/NjGLUyWLsZ5T3phiMVF3fx/8P3KeJVwGbk7hDTE6MrUHMHSwjgXqM+0 iK+4nGS6YmFoQ23ykVv6hmJ+YMEE8GIOlf4uVZgT9EyQGgxhvYzrL0RNnf2LmYfYqn etoz2Dikz0LQ5D62M03kyEVQ70HvCEro0UpQlaiZL2Pm6sJq7lLDVQhtv60J34WLKp yeOx9Im3BLxGw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96B04391B141; Thu, 3 Dec 2026 23:20:11 +0000 (UTC) X-Archived-By: MIME-Version: 1.0 Message-Id: <179634001028.710291.16568275158263146663.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:10 +0000 References: <20261122153636.2731348-1-hengyul@cs.unc.edu> In-Reply-To: <20261122153636.2731348-1-hengyul@cs.unc.edu> To: Hengyu Liang X-Spam-Score: 0.8 (/) X-Headers-End: 1xZG65-000000007fL-0DpT Subject: Re: [f2fs-dev] [PATCH] f2fs: fix to reject inline_data inode which has blocks X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , From: patchwork-bot+f2fs--- via Linux-f2fs-devel Reply-To: patchwork-bot+f2fs@kernel.org Cc: kth5965@gmail.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, jaegeuk@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Sun, 22 Nov 2026 10:36:36 -0500 you wrote: > Commit c240c87bcd44 ("f2fs: fix to do sanity check on blocks for > inline_data inode") made f2fs_sanity_check_inline_data() return false, > i.e. "sane", as soon as an inline_data inode has blocks or node ids. > > However, the function returns true for a corrupted inode, and that > commit meant to detect exactly this state. The early return also skips > the older checks that reject inline_data on a directory and on a > compressed, encrypted or verity file. As of now, such an inode on a > corrupted image is loaded, and setting this one bit in i_inline of an > inode is enough for the following: > > [...] Here is the summary with links: - [f2fs-dev] f2fs: fix to reject inline_data inode which has blocks https://git.kernel.org/jaegeuk/f2fs/c/ba463915425f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel