[Cluster-devel] [PATCH] gfs2: Check sb_bsize_shift after reading superblock

2022-08-17 Thread Andrew Price
Fuzzers like to scribble over sb_bsize_shift but in reality it's very unlikely that this field would be corrupted on its own. Nevertheless it should be checked to avoid the possibility of messy mount errors due to bad calculations. It's always a fixed value based on the block size so we can just ch

[Cluster-devel] [syzbot] UBSAN: shift-out-of-bounds in init_sb (3)

2022-08-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:200e340f2196 Merge tag 'pull-work.dcache' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=150cbda908 kernel config: https://syzkaller.appspot.com/x/.config?x=1b664fba5e66c4bf das