loop0: detected capacity change from 0 to 128 ufs: ufs_fill_super(): fs needs fsck ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/ufs/super.c:1177:18 shift exponent 4294967294 is too large for 32-bit type 'int' CPU: 3 UID: 0 PID: 6275 Comm: syz.0.75 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x279/0x2a0 lib/ubsan.c:494 ufs_fill_super.cold+0x18/0x875 fs/ufs/super.c:1177 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1640 vfs_get_tree+0x92/0x320 fs/super.c:1700 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3765 [inline] do_new_mount fs/namespace.c:3841 [inline] path_mount+0x7d0/0x23d0 fs/namespace.c:4161 do_mount fs/namespace.c:4174 [inline] __do_sys_mount fs/namespace.c:4390 [inline] __se_sys_mount fs/namespace.c:4367 [inline] __ia32_sys_mount+0x292/0x310 fs/namespace.c:4367 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f28fec Code: Unable to access opcode bytes at 0xf7f28fc2. RSP: 002b:00000000f53e650c EFLAGS: 00000292 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000080000040 RCX: 0000000080003000 RDX: 0000000080004000 RSI: 0000000000000000 RDI: 0000000080005000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace ]---