gfs2: fsid=syz:syz.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4221 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x394/0x598 Modules linked in: CPU: 1 PID: 4221 Comm: syz-executor214 Not tainted 6.1.87-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : gfs2_check_blk_type+0x394/0x598 lr : rgrp_contains_block fs/gfs2/rgrp.h:88 [inline] lr : gfs2_rbm_from_block fs/gfs2/rgrp.c:279 [inline] lr : gfs2_check_blk_type+0x310/0x598 fs/gfs2/rgrp.c:2627 sp : ffff80001dbd76c0 x29: ffff80001dbd7780 x28: ffff0000d0308000 x27: dfff800000000000 x26: ffff700003b7aedc x25: ffff80001dbd7700 x24: 0000000000000013 x23: ffff0000d0308034 x22: 00000000fffffff9 x21: 0000000000000012 x20: 1fffe0001a061006 x19: 1fffe0001a061005 x18: 1fffe0003686f176 x17: ffff80001584d000 x16: ffff8000082dc784 x15: ffff0001b4378bbc x14: 1ffff00002b0a0b0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a3ead44 x8 : ffff0000cf15b780 x7 : ffff80000827c8d4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000a381110 x2 : 0000000000000001 x1 : 0000000000000012 x0 : 0000000000000013 Call trace: gfs2_check_blk_type+0x394/0x598 gfs2_inode_lookup+0x980/0xbac fs/gfs2/inode.c:173 gfs2_lookup_by_inum+0x60/0xf8 fs/gfs2/inode.c:241 gfs2_get_dentry fs/gfs2/export.c:139 [inline] gfs2_fh_to_dentry+0x128/0x1f4 fs/gfs2/export.c:162 exportfs_decode_fh_raw+0x114/0x4b4 fs/exportfs/expfs.c:435 exportfs_decode_fh+0x50/0x80 fs/exportfs/expfs.c:575 do_handle_to_path fs/fhandle.c:152 [inline] handle_to_path fs/fhandle.c:207 [inline] do_handle_open+0x56c/0x998 fs/fhandle.c:223 __do_sys_open_by_handle_at fs/fhandle.c:265 [inline] __se_sys_open_by_handle_at fs/fhandle.c:256 [inline] __arm64_sys_open_by_handle_at+0x80/0x94 fs/fhandle.c:256 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 96612 hardirqs last enabled at (96611): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (96611): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5004 hardirqs last disabled at (96612): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (96566): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (96564): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---