summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc.py
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2025-07-17 17:54:34 +0300
committerTheodore Ts'o <tytso@mit.edu>2025-07-25 16:14:17 +0300
commit099b847ccc6c1ad2f805d13cfbcc83f5b6d4bc42 (patch)
tree801de33a7cc0a442b3bd855f87ae8547095c85f5 /scripts/kernel-doc.py
parenta3ce570a5d6a70df616ae9a78635a188e6b5fd2f (diff)
downloadlinux-099b847ccc6c1ad2f805d13cfbcc83f5b6d4bc42.tar.xz
ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr
A syzbot fuzzed image triggered a BUG_ON in ext4_update_inline_data() when an inode had the INLINE_DATA_FL flag set but was missing the system.data extended attribute. Since this can happen due to a maiciouly fuzzed file system, we shouldn't BUG, but rather, report it as a corrupted file system. Add similar replacements of BUG_ON with EXT4_ERROR_INODE() ii ext4_create_inline_data() and ext4_inline_data_truncate(). Reported-by: syzbot+544248a761451c0df72f@syzkaller.appspotmail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions