loop5: detected capacity change from 0 to 40427 F2FS-fs (loop5): Invalid segment/section count (31, 24 x 1) F2FS-fs (loop5): Can't find valid F2FS filesystem in 2th superblock ================================================================================ UBSAN: shift-out-of-bounds in fs/f2fs/super.c:919:5 shift exponent 105 is too large for 64-bit type 'unsigned long' CPU: 0 PID: 3102 Comm: syz.5.579 Not tainted 6.1.112-syzkaller-00109-gfadb08b36671 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x1e lib/dump_stack.c:113 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_shift_out_of_bounds+0x3e1/0x440 lib/ubsan.c:321 parse_options+0x4b19/0x4b30 fs/f2fs/super.c:919 f2fs_fill_super+0x23bc/0x6dc0 fs/f2fs/super.c:4303 mount_bdev+0x282/0x3b0 fs/super.c:1445 f2fs_mount+0x34/0x40 fs/f2fs/super.c:4739 legacy_get_tree+0xf1/0x190 fs/fs_context.c:632 vfs_get_tree+0x88/0x290 fs/super.c:1575 do_new_mount+0x2ba/0xb30 fs/namespace.c:3051 path_mount+0x671/0x1070 fs/namespace.c:3381 do_mount fs/namespace.c:3394 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3579 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3579 x64_sys_call+0x49d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1a04d7feba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1a05c31e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1a05c31ef0 RCX: 00007f1a04d7feba RDX: 0000000020000140 RSI: 00000000200003c0 RDI: 00007f1a05c31eb0 RBP: 0000000020000140 R08: 00007f1a05c31ef0 R09: 0000000001000010 R10: 0000000001000010 R11: 0000000000000246 R12: 00000000200003c0 R13: 00007f1a05c31eb0 R14: 0000000000005536 R15: 0000000020000400 ================================================================================ F2FS-fs (loop5): Not support 2199023255552, larger than 256