summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWenjie Qi <qwjhust@gmail.com>2026-06-30 11:17:00 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2026-08-03 23:40:24 +0000
commite533889fc26aea0cd83c90327063f272061dd820 (patch)
tree56fde433c689bacbfe35dcb88d183989437325e2 /tools/perf/scripts/python/bin/stackcollapse-report
parenta54ffce4637acb0db8e695188a6c7f99f14c3576 (diff)
f2fs: validate MOVE_RANGE destination size
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. Fixes: 4dd6f977fc77 ("f2fs: support an ioctl to move a range of data blocks") Cc: stable@kernel.org Assisted-by: Codex:gpt-5.5 Signed-off-by: Wenjie Qi <qiwenjie@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions