aboutsummaryrefslogtreecommitdiff
path: root/mm/zbud.c
diff options
context:
space:
mode:
authorJan Kara2023-03-01 11:59:39 +0100
committerGreg Kroah-Hartman2023-05-24 17:32:36 +0100
commite6f4fb28890c1361e0db9eb1adee3fc04e7fe7f5 (patch)
tree7974772024abb529ac859b6abf73b6b5586eda8e /mm/zbud.c
parentf8a6c53ff1d91acd5a20eb627edbffd816eb9a4e (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