bh = 19 (type: exp=4, found=1) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 493 gfs2: fsid=syz:syz.s: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:341! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4403 Comm: syz.0.52 Not tainted 5.15.175-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+0x1214/0x12a4 fs/gfs2/util.c:341 lr : gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341 sp : ffff800020616c00 x29: ffff800020616d30 x28: ffff7000040c2d90 x27: dfff800000000000 x26: 1fffe0001b277857 x25: ffff800020616c80 x24: ffff8000120ae9a0 x23: 000000000000e74f x22: ffff0000d93bc340 x21: ffff0000d93bc0a8 x20: ffff0000d93bc2bc x19: ffff0000d93bc000 x18: 0000000000000001 x17: 0000000000000002 x16: ffff800011b4eaf8 x15: 00000000ffffffff x14: ffff0000d53cd1c0 x13: 0000000000000001 x12: 0000000000080000 x11: 00000000000272a5 x10: ffff800020d9b000 x9 : 00000000000272a6 x8 : ffff80000a398f48 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020616378 x4 : ffff800014c50660 x3 : ffff800008555fe4 x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341 gfs2_metatype_check_ii+0x8c/0xac fs/gfs2/util.c:520 gfs2_metatype_check_i fs/gfs2/util.h:129 [inline] gfs2_meta_buffer+0x2f8/0x394 fs/gfs2/meta_io.c:493 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline] gfs2_inode_refresh+0xc4/0xdf4 fs/gfs2/glops.c:481 inode_go_lock+0xfc/0x390 fs/gfs2/glops.c:510 do_promote+0x680/0xa80 fs/gfs2/glock.c:507 finish_xmote+0x478/0xbb4 fs/gfs2/glock.c:678 do_xmote+0x6e4/0x1054 fs/gfs2/glock.c:824 run_queue+0x3f8/0x6bc fs/gfs2/glock.c:872 gfs2_glock_nq+0xa60/0x144c fs/gfs2/glock.c:1534 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] check_journal_clean+0x114/0x2ec fs/gfs2/util.c:60 init_journal+0x145c/0x1f6c fs/gfs2/ops_fstype.c:832 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:891 gfs2_fill_super+0x1640/0x2010 fs/gfs2/ops_fstype.c:1249 get_tree_bdev+0x360/0x54c fs/super.c:1325 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x90/0x274 fs/super.c:1530 do_new_mount+0x278/0x8fc fs/namespace.c:3012 path_mount+0x594/0x101c fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __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 Code: f9401fe0 9794f2bf 17ffff43 9784ad2b (d4210000) ---[ end trace e2b7a61a1cbab284 ]---