summaryrefslogtreecommitdiff
path: root/drivers/md/dm-ps-round-robin.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-07-26 14:13:50 +0300
committerJan Kara <jack@suse.cz>2022-07-26 14:24:04 +0300
commitfa78f336937240d1bc598db817d638086060e7e9 (patch)
tree2ea5ad4a49ba397fce611a5fc5b8c5d4cd89d812 /drivers/md/dm-ps-round-robin.c
parentbd6e21a9044ffc0d15cc362dcc10662e644a43bc (diff)
downloadlinux-fa78f336937240d1bc598db817d638086060e7e9.tar.xz
ext2: Add more validity checks for inode counts
Add checks verifying number of inodes stored in the superblock matches the number computed from number of inodes per group. Also verify we have at least one block worth of inodes per group. This prevents crashes on corrupted filesystems. Reported-by: syzbot+d273f7d7f58afd93be48@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/md/dm-ps-round-robin.c')
0 files changed, 0 insertions, 0 deletions