Re: [f2fs-dev] [PATCH] f2fs: validate dentry name length before lookup compares it

From: patchwork-bot+f2fs

Date: Mon Jun 15 2026 - 22:50:18 EST


Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:

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