------------[ cut here ]------------ WARNING: CPU: 0 PID: 5621 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x394/0x598 Modules linked in: CPU: 0 PID: 5621 Comm: syz-executor.0 Not tainted 6.1.86-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+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 : ffff8000204876c0 x29: ffff800020487780 x28: ffff0000cc8d8000 x27: dfff800000000000 x26: ffff700004090edc x25: ffff800020487700 x24: 0000000000000013 x23: ffff0000cc8d8034 x22: 00000000fffffff9 x21: 0000000000000012 x20: 1fffe0001991b006 x19: 1fffe0001991b005 x18: 1fffe0003686b376 x17: ffff80001583d000 x16: ffff8000083043c4 x15: 0000000000000002 x14: 1ffff00002b080b0 x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000005d1e x10: ffff80001e099000 x9 : ffff80000a3eaae8 x8 : 0000000000005d1f x7 : ffff8000083a5f28 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000a380eb4 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: 127490 hardirqs last enabled at (127489): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (127489): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (127490): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (127434): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (127432): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---