bh = 35 (type: exp=4, found=31) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 492 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:352! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4765 Comm: syz.2.85 Tainted: G W 6.1.121-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352 lr : gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352 sp : ffff800021ae6fa0 x29: ffff800021ae70d0 x28: ffff800021ae7020 x27: ffff70000435ce04 x26: dfff800000000000 x25: 1fffe0001b5e2857 x24: 0000000000000106 x23: 0000000000000000 x22: ffff0000daf14340 x21: ffff0000daf140a8 x20: ffff0000daf142bc x19: ffff0000daf14000 x18: 1fffe0001a23408c x17: 0000000000000000 x16: ffff80001232c2f4 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 00000000000599b0 x10: ffff80002621a000 x9 : ffff80000a4a1364 x8 : 00000000000599b1 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021ae68b8 x4 : ffff800015b731e0 x3 : ffff800008587354 x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352 gfs2_metatype_check_ii+0x8c/0xac fs/gfs2/util.c:533 gfs2_metatype_check_i fs/gfs2/util.h:129 [inline] gfs2_meta_buffer+0x2f8/0x394 fs/gfs2/meta_io.c:492 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:72 [inline] gfs2_inode_refresh+0xc4/0xd9c fs/gfs2/glops.c:480 inode_go_instantiate+0x4c/0x68 fs/gfs2/glops.c:503 gfs2_instantiate+0x17c/0x2c8 fs/gfs2/glock.c:520 gfs2_glock_holder_ready fs/gfs2/glock.c:1328 [inline] gfs2_glock_wait+0x1b8/0x298 fs/gfs2/glock.c:1348 gfs2_glock_nq+0xa90/0x11d8 fs/gfs2/glock.c:1591 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] init_journal+0xb4c/0x2054 fs/gfs2/ops_fstype.c:794 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x16fc/0x1ef8 fs/gfs2/ops_fstype.c:1246 get_tree_bdev+0x360/0x54c fs/super.c:1366 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x278/0x8fc fs/namespace.c:3056 path_mount+0x590/0xe5c fs/namespace.c:3386 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 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 Code: f94013e0 97935a74 17ffff55 97814b87 (d4210000) ---[ end trace 0000000000000000 ]---