------------[ cut here ]------------ WARNING: CPU: 1 PID: 7004 at fs/gfs2/rgrp.c:2638 gfs2_check_blk_type+0x360/0x560 Modules linked in: CPU: 1 PID: 7004 Comm: syz-executor.4 Not tainted 5.15.155-syzkaller #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+0x360/0x560 lr : rgrp_contains_block fs/gfs2/rgrp.h:87 [inline] lr : gfs2_rbm_from_block fs/gfs2/rgrp.c:279 [inline] lr : gfs2_check_blk_type+0x2dc/0x560 fs/gfs2/rgrp.c:2637 sp : ffff80001eae7680 x29: ffff80001eae7740 x28: 1fffe0001b877c06 x27: ffff0000dc3be000 x26: dfff800000000000 x25: ffff700003d5ced4 x24: 00000000fffffff9 x23: 0000000000000013 x22: ffff0000dc3be034 x21: 0000000000000012 x20: 1fffe0001b877c05 x19: ffff80001eae76c0 x18: 1fffe0003690198e x17: 1fffe0003690198e x16: ffff8000082eaf20 x15: ffff8000149dec20 x14: 1ffff0000292806a x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000005590 x10: ffff800025c08000 x9 : 0000000000005591 x8 : ffff80000a2ed45c x7 : ffff80000a28f190 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008305a68 x2 : 0000000000000000 x1 : 0000000000000012 x0 : 0000000000000013 Call trace: gfs2_check_blk_type+0x360/0x560 gfs2_inode_lookup+0x4f0/0xbd8 fs/gfs2/inode.c:177 gfs2_lookup_by_inum+0x60/0xf8 fs/gfs2/inode.c:250 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:436 exportfs_decode_fh+0x50/0x80 fs/exportfs/expfs.c:576 do_handle_to_path fs/fhandle.c:152 [inline] handle_to_path fs/fhandle.c:207 [inline] do_handle_open+0x5b8/0x9fc 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/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 130510 hardirqs last enabled at (130509): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (130509): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784 hardirqs last disabled at (130510): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (130462): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (130460): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 52e28662269133ff ]---