gfs2: fsid=syz:syz.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 1 PID: 17859 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x394/0x598 Modules linked in: CPU: 1 PID: 17859 Comm: syz-executor.4 Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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 : ffff80002c9976a0 x29: ffff80002c997760 x28: ffff0000d1d914b8 x27: dfff800000000000 x26: ffff700005932ed8 x25: ffff80002c9976e0 x24: 0000000000000012 x23: ffff0000d1d914ec x22: 00000000fffffff9 x21: 0000000000000011 x20: 1fffe0001a3b229d x19: 1fffe0001a3b229c x18: 1fffe000368995b6 x17: ffff800015cdd000 x16: ffff8000082ed320 x15: ffff0001b44cadbc x14: 1ffff00002b9c0b2 x13: dfff800000000000 x12: 0000000000040000 x11: 00000000000045ca x10: ffff80002031d000 x9 : ffff80000a4bd0b4 x8 : 00000000000045cb x7 : ffff80000828dc14 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80000a452d58 x2 : 0000000000000001 x1 : 0000000000000011 x0 : 0000000000000012 Call trace: gfs2_check_blk_type+0x394/0x598 gfs2_inode_lookup+0x930/0xa70 fs/gfs2/inode.c:178 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: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/0x198 arch/arm64/kernel/syscall.c:193 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+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 114924 hardirqs last enabled at (114923): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1378 [inline] hardirqs last enabled at (114923): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5062 hardirqs last disabled at (114924): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (114882): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (114882): [] __do_softirq+0xd64/0xfbc kernel/softirq.c:600 softirqs last disabled at (114865): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---