gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... ================================================================================ UBSAN: array-index-out-of-bounds in fs/gfs2/bmap.c:898:64 index 11 is out of range for type 'u64 [11]' CPU: 1 PID: 17784 Comm: syz-executor.0 Not tainted 6.3.0-rc3-next-20230324-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0xd5/0x140 lib/ubsan.c:348 __gfs2_iomap_get+0x152f/0x1920 fs/gfs2/bmap.c:898 gfs2_iomap_get+0xb1/0x1e0 fs/gfs2/bmap.c:1410 gfs2_block_map+0x194/0x610 fs/gfs2/bmap.c:1225 gfs2_write_alloc_required+0x3f1/0x510 fs/gfs2/bmap.c:2333 gfs2_jdesc_check+0x1ed/0x2b0 fs/gfs2/super.c:114 check_journal_clean+0x11e/0x330 fs/gfs2/util.c:68 init_journal fs/gfs2/ops_fstype.c:830 [inline] init_inodes+0xfb8/0x2b20 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x1a75/0x2b20 fs/gfs2/ops_fstype.c:1253 get_tree_bdev+0x444/0x760 fs/super.c:1303 gfs2_get_tree+0x4e/0x270 fs/gfs2/ops_fstype.c:1338 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3039 [inline] path_mount+0x134b/0x1e40 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc84b88d62a 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:00007fc84c5c4f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007fc84b88d62a RDX: 0000000020000100 RSI: 0000000020000000 RDI: 00007fc84c5c4fe0 RBP: 00007fc84c5c5020 R08: 00007fc84c5c5020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020000000 R14: 00007fc84c5c4fe0 R15: 0000000020000240 ================================================================================