diff options
author | Jan Kara <jack@suse.cz> | 2025-02-06 12:44:55 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-03-17 18:19:41 +0300 |
commit | 5f920d5d60839f7cbbb1ed50eac68d8bc0a73a7c (patch) | |
tree | 6d161c8a44b25da7030a3f9be5a098f5c5586d60 /scripts/gdb/linux/tasks.py | |
parent | c8e008b60492cf6fd31ef127aea6d02fd3d314cd (diff) | |
download | linux-5f920d5d60839f7cbbb1ed50eac68d8bc0a73a7c.tar.xz |
ext4: verify fast symlink length
Verify fast symlink length stored in inode->i_size matches the string
stored in the inode to avoid surprises from corrupted filesystems.
Reported-by: syzbot+48a99e426f29859818c0@syzkaller.appspotmail.com
Tested-by: syzbot+48a99e426f29859818c0@syzkaller.appspotmail.com
Fixes: bae80473f7b0 ("ext4: use inode_set_cached_link()")
Suggested-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://patch.msgid.link/20250206094454.20522-2-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions