bisecting fixing commit since b8a98b6bf66ae35361e987333233d07241642909 building syzkaller on 49ca1f59e37fcf63dc38a6bd2b60fcc47a0a708e testing commit b8a98b6bf66ae35361e987333233d07241642909 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 85577c5163ed7acd783c389ab5eaf12a8c30021852784f627b853102a1ece554 all runs: crashed: UBSAN: shift-out-of-bounds in minix_statfs testing current HEAD aad611a868d16cdc16a7d4a764cef955293e47e3 testing commit aad611a868d16cdc16a7d4a764cef955293e47e3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2930b2fa166fb503cf5ba2d1fc194255acb69f3a5caab318a247f1b35e72cfbb all runs: crashed: UBSAN: shift-out-of-bounds in minix_statfs revisions tested: 2, total time: 18m36.612825494s (build: 12m26.64977275s, test: 5m40.921816298s) the crash still happens on HEAD commit msg: Merge tag 'perf-tools-fixes-for-v5.17-2022-03-12' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux crash: UBSAN: shift-out-of-bounds in minix_statfs loop0: detected capacity change from 0 to 272 ================================================================================ UBSAN: shift-out-of-bounds in fs/minix/inode.c:380:57 shift exponent 65510 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 3970 Comm: syz-executor354 Not tainted 5.17.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 ubsan_epilogue+0x5/0x40 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef lib/ubsan.c:330 minix_statfs.cold+0x16/0x1f fs/minix/inode.c:380 statfs_by_dentry+0x11b/0x1e0 fs/statfs.c:66 vfs_statfs fs/statfs.c:90 [inline] fd_statfs+0x41/0xb0 fs/statfs.c:120 __do_sys_fstatfs+0x6b/0xc0 fs/statfs.c:216 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6493434df9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc3bf14dd8 EFLAGS: 00000246 ORIG_RAX: 000000000000008a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6493434df9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f64933f45f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc3bf14c90 R11: 0000000000000246 R12: 00007f64933f4680 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ================================================================================