diff options
author | Jan Kara | 2023-03-01 11:59:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-05-24 17:32:36 +0100 |
commit | e6f4fb28890c1361e0db9eb1adee3fc04e7fe7f5 (patch) | |
tree | 7974772024abb529ac859b6abf73b6b5586eda8e /mm/zbud.c | |
parent | f8a6c53ff1d91acd5a20eb627edbffd816eb9a4e (diff) |
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>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions