loop0: detected capacity change from 0 to 264192 gfs2: fsid=loop0: Trying to join cluster "lock_nolock", "loop0" gfs2: fsid=loop0: Now mounting FS (format 1801)... ================================================================================ UBSAN: shift-out-of-bounds in fs/gfs2/meta_io.c:128:16 shift exponent 4294967293 is too large for 64-bit type 'u64' (aka 'unsigned long long') CPU: 1 PID: 3605 Comm: syz-executor208 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_shift_out_of_bounds+0x33d/0x3b0 lib/ubsan.c:322 gfs2_getbuf+0x759/0x7d0 fs/gfs2/meta_io.c:128 gfs2_meta_read+0x153/0x910 fs/gfs2/meta_io.c:265 gfs2_meta_buffer+0x153/0x3a0 fs/gfs2/meta_io.c:491 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:72 [inline] gfs2_inode_refresh+0xab/0xe90 fs/gfs2/glops.c:472 gfs2_instantiate+0x15e/0x220 fs/gfs2/glock.c:515 gfs2_glock_holder_ready fs/gfs2/glock.c:1303 [inline] gfs2_glock_wait+0x1d9/0x2a0 fs/gfs2/glock.c:1323 gfs2_glock_nq_init fs/gfs2/glock.h:263 [inline] gfs2_lookupi+0x40c/0x650 fs/gfs2/inode.c:306 gfs2_lookup_simple+0xec/0x170 fs/gfs2/inode.c:258 init_journal+0x19b/0x22c0 fs/gfs2/ops_fstype.c:739 init_inodes+0xdc/0x340 fs/gfs2/ops_fstype.c:882 gfs2_fill_super+0x1ad8/0x2610 fs/gfs2/ops_fstype.c:1240 get_tree_bdev+0x400/0x620 fs/super.c:1323 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1323 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd436bdc42a Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 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:00007ffca30177e8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd436bdc42a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffca3017800 RBP: 00007ffca3017800 R08: 00007ffca3017840 R09: 000055555600f2c0 R10: 0000000000000008 R11: 0000000000000282 R12: 0000000000000004 R13: 00007ffca3017840 R14: 0000000000000001 R15: 0000000020000218 ================================================================================