bisecting fixing commit since 2fe1020d73ca0467b5383b0a3e459a1d29902762 building syzkaller on 744a39e220cece33e207035facce6c5ae161b775 testing commit 2fe1020d73ca0467b5383b0a3e459a1d29902762 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b421ff9a5dc7bdc791bbb84db18e3ae2383a18c3906a05b6ff456c278e6c9ab7 run #0: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #1: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #2: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #3: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #4: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #5: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #6: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #7: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #8: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #9: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #10: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #11: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #12: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #13: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #14: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #15: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #16: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #17: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #18: crashed: UBSAN: shift-out-of-bounds in minix_statfs run #19: crashed: UBSAN: shift-out-of-bounds in minix_statfs testing current HEAD b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 testing commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ab2cc862b3a0dd09535d090560fa1f562ee4e50fb720d19419adab0872c811fa all runs: crashed: UBSAN: shift-out-of-bounds in minix_statfs revisions tested: 2, total time: 21m59.950552424s (build: 12m56.958115737s, test: 8m33.118245714s) the crash still happens on HEAD commit msg: Linux 5.19-rc2 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: 0 PID: 4099 Comm: syz-executor.0 Not tainted 5.19.0-rc2-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/0x36 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef lib/ubsan.c:322 minix_statfs.cold+0x16/0x1f fs/minix/inode.c:380 statfs_by_dentry fs/statfs.c:66 [inline] statfs_by_dentry+0x11b/0x1e0 fs/statfs.c:55 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+0x46/0xb0 RIP: 0033:0x7f87518890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8752a35168 EFLAGS: 00000246 ORIG_RAX: 000000000000008a RAX: ffffffffffffffda RBX: 00007f875199bf60 RCX: 00007f87518890e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f87518e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8973c3cf R14: 00007f8752a35300 R15: 0000000000022000 ================================================================================