Re: [f2fs-dev] [PATCH] f2fs: validate MOVE_RANGE destination size

From: patchwork-bot+f2fs

Date: Wed Aug 05 2026 - 17:23:26 EST


Hello:

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

On Tue, 30 Jun 2026 11:17:00 +0800 you wrote:
> F2FS_IOC_MOVE_RANGE checks the source range, but not the destination end
> before updating i_size. A source hole can expose this: __clone_blkaddrs()
> skips NULL_ADDR entries and returns success, so the caller can still extend
> the destination inode with unchecked pos_out + len.
>
> Reject destination overflow and use inode_newsize_ok() before extending
> the destination inode.
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: validate MOVE_RANGE destination size
https://git.kernel.org/jaegeuk/f2fs/c/e533889fc26a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html