Jan Kara c4813f858e ext2: Check block size validity during mount
[ Upstream commit 62aeb94433fcec80241754b70d0d1836d5926b0a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-30 12:44:02 +01:00
..
2019-01-21 17:48:17 +01:00
2020-09-09 19:12:30 +02:00
2020-08-21 13:05:26 +02:00
2019-12-17 19:56:43 +01:00
2019-02-18 15:14:43 +01:00
2019-02-18 15:14:43 +01:00