diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-04-29 16:14:46 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-05-13 18:05:04 -0400 |
commit | 463808f237cf73e98a1a45ff7460c2406a150a0b (patch) | |
tree | 0f879b5860276755d6409b86da3c7b05d94f1773 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5354b2af34064a4579be8bc0e2f15a7b70f14b5f (diff) |
ext4: remove a BUG_ON in ext4_mb_release_group_pa()
If a malicious fuzzer overwrites the ext4 superblock while it is
mounted such that the s_first_data_block is set to a very large
number, the calculation of the block group can underflow, and trigger
a BUG_ON check. Change this to be an ext4_warning so that we don't
crash the kernel.
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20230430154311.579720-3-tytso@mit.edu
Reported-by: syzbot+e2efa3efc15a1c9e95c3@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=69b28112e098b070f639efb356393af3ffec4220
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions