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

patchwork-bot+f2fs--- via Linux-f2fs-devel <[email protected]> Wed, 05 Aug 2026 21:20:58 +0000
Newsgroups net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-kernel
Message-ID <178596485813.530543.10823312438985135960.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

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




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel