diff options
author | Jan Kara <jack@suse.cz> | 2022-09-14 18:24:42 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-09-26 15:59:47 +0300 |
commit | d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2 (patch) | |
tree | d23753369dd040ebdab78145b532455e0f9997ea /fs/ext2/Makefile | |
parent | 6c78973da0b11255d2668518ac1baba4c581811a (diff) | |
download | linux-d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2.tar.xz |
ext2: Add sanity checks for group and filesystem size
Add sanity check that filesystem size does not exceed the underlying
device size and that group size is big enough so that metadata can fit
into it. This avoid trying to mount some crafted filesystems with
extremely large group counts.
Reported-by: syzbot+0f2f7e65a3007d39539f@syzkaller.appspotmail.com
Reported-by: kernel test robot <oliver.sang@intel.com> # Test fixup
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/Makefile')
0 files changed, 0 insertions, 0 deletions