loop5: detected capacity change from 0 to 264192 gfs2: fsid=loop5: Trying to join cluster "lock_nolock", "loop5" gfs2: fsid=loop5: 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 'long long unsigned int' CPU: 0 PID: 11826 Comm: syz-executor.5 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #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+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x187 lib/ubsan.c:322 gfs2_getbuf.cold+0x1b/0x32 fs/gfs2/meta_io.c:128 gfs2_meta_read+0x19b/0x9c0 fs/gfs2/meta_io.c:265 gfs2_meta_buffer+0x145/0x3f0 fs/gfs2/meta_io.c:491 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:72 [inline] gfs2_inode_refresh+0x97/0xf50 fs/gfs2/glops.c:472 inode_go_instantiate+0x46/0x60 fs/gfs2/glops.c:495 gfs2_instantiate+0x166/0x250 fs/gfs2/glock.c:515 gfs2_glock_holder_ready fs/gfs2/glock.c:1303 [inline] gfs2_glock_holder_ready fs/gfs2/glock.c:1299 [inline] gfs2_glock_wait+0x193/0x2e0 fs/gfs2/glock.c:1323 gfs2_glock_nq+0xa81/0x1650 fs/gfs2/glock.c:1557 gfs2_glock_nq_init fs/gfs2/glock.h:263 [inline] gfs2_lookupi+0x369/0x6a0 fs/gfs2/inode.c:306 gfs2_lookup_simple+0x99/0xe0 fs/gfs2/inode.c:258 init_journal fs/gfs2/ops_fstype.c:739 [inline] init_inodes+0x420/0x2790 fs/gfs2/ops_fstype.c:882 gfs2_fill_super+0x1a3d/0x27f0 fs/gfs2/ops_fstype.c:1240 get_tree_bdev+0x440/0x760 fs/super.c:1323 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1323 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1326/0x1e20 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 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+0x63/0xcd RIP: 0033:0x7fdc8468cada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007fdc85843f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fdc8468cada RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fdc85843fe0 RBP: 00007fdc85844020 R08: 00007fdc85844020 R09: 0000000020000000 R10: 0000000000000008 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fdc85843fe0 R15: 0000000020000080 ================================================================================