linux/fs/ext2
Jan Kara e6f4fb2889 ext2: Check block size validity during mount
[ Upstream commit 62aeb94433 ]

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-24 17:32:36 +01:00
..
acl.c
acl.h
balloc.c ext2: replace bh_submit_read() helper with bh_read() 2022-09-11 20:26:08 -07:00
dir.c ext2: unbugger ext2_empty_dir() 2023-01-07 11:11:40 +01:00
ext2.h ext2: Check block size validity during mount 2023-05-24 17:32:36 +01:00
file.c
ialloc.c treewide: use prandom_u32_max() when possible, part 2 2022-10-11 17:42:58 -06:00
inode.c Folio changes for 6.0 2022-08-03 10:35:43 -07:00
ioctl.c
Kconfig
Makefile
namei.c vfs: open inside ->tmpfile() 2022-09-24 07:00:00 +02:00
super.c ext2: Check block size validity during mount 2023-05-24 17:32:36 +01:00
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c ext2: avoid deleting xattr block that is being reused 2022-08-02 23:56:25 -04:00
xattr.h