diff options
author | Jan Kara <jack@suse.cz> | 2023-03-01 11:59:39 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-03-06 16:42:10 +0100 |
commit | 62aeb94433fcec80241754b70d0d1836d5926b0a (patch) | |
tree | 5b191d6bd8f8289d41507f3f67728d6ebf29134e /mm/page_idle.c | |
parent | e9cd1d9a34131fb56bef469d4e1cd31bd1b515e2 (diff) |
ext2: Check block size validity during mount
Check that log of block size stored in the superblock has sensible
value. Otherwise the shift computing the block size can overflow leading
to undefined behavior.
Reported-by: syzbot+4fec412f59eba8c01b77@syzkaller.appspotmail.com
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'mm/page_idle.c')
0 files changed, 0 insertions, 0 deletions