diff options
| author | 2026-10-09 18:30:06 +0800 | |
|---|---|---|
| committer | 2026-10-15 10:53:12 -0400 | |
| commit | 3ec0eefc07cb9e2bb1193f1fa3d8157302a737f5 (patch) | |
| tree | 31a401a8a32ef7e24e8ebe2e6da69b049ef4d962 /scripts/Makefile.thinlto | |
| parent | ext4: recheck extent status tree before block allocation (diff) | |
ext4: fix orig_mlen initialization in ext4_map_blocks()
Save orig_mlen after clamping map->m_len to INT_MAX. Otherwise, the
unclamped value may be passed below, bypassing its overflow protection.
Fixes: 5bb12b1837c0 ("ext4: Add support for EXT4_GET_BLOCKS_QUERY_LEAF_BLOCKS")
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: syzbot@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20261009103033.2920530-6-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
