From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 938A731E84B for ; Tue, 16 Jun 2026 02:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781578212; cv=none; b=OgRWwvOo2n+ILdy7Qx/z/Q9KbHgpXVK7biJsFILroglqhjBO8RP7agDmWIQa+olkxz4O1Ln6c3vPPbZiLIhVE8LvUmEPRQFxu7gbjO7v3uhGbTcMkZqlkqFkosqnGZFjOq4eooLY5peLML5YkGcgVIsBXdNSJixQSq4pWD3F2Jk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781578212; c=relaxed/simple; bh=HuRQBkljZK2l02kZHjmcaCqVDPpFp5fJL+eSkVxinOg=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=F/KDSAT5IrbZkm5+cetB3yKgcm35fMIpiqKt1qHjuo2zvvUwnvA7IaPA2/zwhD9Han9iVU/rGJlvLiqg3AfGGMgoRsaOoDqgXw9l6oCtOjBxvfoH7cwmAtt+z/rPZ3MIvyIdVe6hAou6+iFm9V4j7biDYdtA8h1ORlIWMg9IO/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jgvPQcSN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jgvPQcSN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 724081F000E9; Tue, 16 Jun 2026 02:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781578211; bh=uYHXw9s2G03tp7BHPHlk59AgvjQ7NSMtGPMB/Lk+1Yg=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=jgvPQcSN6AACN63Ha0a7jlWmL522AGc2J34NqZBlcT3aF0OSLhFbva2nmCAuLjLXN vxEyTVGY0aeqsjXqxcxMUWtjolfFC5VtNyoGxHHbhyNMweZ3cPJH0Nj8hokZijwU3s KjUV+PntsgHjMO6jAGXAUhemZVp6AGaB2WAQCQFC0MpNP7i70FiXZ/ri4C1spQZSgc nW85Kqorr8e7cVU0p0pjykZBzuci0TYOuefvAj5Csb/pU/gp3E6FaMpep6nufCVo8O pRGPoHCFD/Gx0r4X/5BKRSkLzoc00r6LH8N02gVgiO0TqTIj3AstaczyGW5eJVsZNw OibQQrNylD/Tw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 93BCB3839A26; Tue, 16 Jun 2026 02:50:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: validate dentry name length before lookup compares it From: patchwork-bot+f2fs@kernel.org Message-Id: <178157820614.407856.1733629854453320542.git-patchwork-notify@kernel.org> Date: Tue, 16 Jun 2026 02:50:06 +0000 References: <20260603161127.17464-1-sam.moelius@trailofbits.com> In-Reply-To: <20260603161127.17464-1-sam.moelius@trailofbits.com> To: Samuel Moelius Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 3 Jun 2026 16:11:26 +0000 you wrote: > The f2fs dentry lookup path can use the on-disk name length before > checking that the name fits in the dentry filename area. A corrupted > dentry can then make lookup read beyond the filename slots. > > The bounds check needs to happen before any comparison that consumes > the name length from disk. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: validate dentry name length before lookup compares it https://git.kernel.org/jaegeuk/f2fs/c/d6d43742e65d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html