------------[ cut here ]------------ WARNING: CPU: 1 PID: 6606 at fs/gfs2/rgrp.c:2630 gfs2_check_blk_type+0x378/0x57c Modules linked in: CPU: 1 PID: 6606 Comm: syz-executor.1 Not tainted 6.9.0-rc3-syzkaller-gb5d2afe8745b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : gfs2_check_blk_type+0x378/0x57c lr : rgrp_contains_block fs/gfs2/rgrp.h:89 [inline] lr : gfs2_rbm_from_block fs/gfs2/rgrp.c:279 [inline] lr : gfs2_check_blk_type+0x2f4/0x57c fs/gfs2/rgrp.c:2629 sp : ffff8000a0147680 x29: ffff8000a0147740 x28: ffff0000dea1e000 x27: dfff800000000000 x26: ffff700014028ed4 x25: ffff8000a01476c0 x24: 0000000000000013 x23: ffff0000dea1e034 x22: 00000000fffffff9 x21: 0000000000000012 x20: 1fffe0001bd43c06 x19: 1fffe0001bd43c05 x18: 0000000000000001 x17: ffff80012501f000 x16: ffff80008030bcc4 x15: 0000000000000001 x14: 1fffe0001e6c65dc x13: 0000000000000000 x12: ffff80008030c084 x11: 0000000000040000 x10: 0000000000003e8b x9 : ffff8000a10d9000 x8 : 0000000000003e8c x7 : ffff8000802aabc8 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008246b6fc x2 : 000000000000000c x1 : 0000000000000012 x0 : 0000000000000013 Call trace: gfs2_check_blk_type+0x378/0x57c gfs2_inode_lookup+0x90c/0xa48 fs/gfs2/inode.c:178 gfs2_lookup_by_inum+0x60/0xf8 fs/gfs2/inode.c:251 gfs2_get_dentry fs/gfs2/export.c:139 [inline] gfs2_fh_to_dentry+0x12c/0x1d4 fs/gfs2/export.c:160 exportfs_decode_fh_raw+0x128/0x4ac fs/exportfs/expfs.c:444 exportfs_decode_fh+0x50/0x80 fs/exportfs/expfs.c:584 do_handle_to_path fs/fhandle.c:155 [inline] handle_to_path fs/fhandle.c:210 [inline] do_handle_open+0x534/0x718 fs/fhandle.c:226 __do_sys_open_by_handle_at fs/fhandle.c:267 [inline] __se_sys_open_by_handle_at fs/fhandle.c:258 [inline] __arm64_sys_open_by_handle_at+0x80/0x94 fs/fhandle.c:258 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 124882 hardirqs last enabled at (124881): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1397 [inline] hardirqs last enabled at (124881): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5163 hardirqs last disabled at (124882): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (124762): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (124760): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---