bh = 8330 (magic number) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 493 gfs2: fsid=syz:syz.0: 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: 0 PID: 4021 Comm: syz-executor232 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 : ffff80001d666b80 x29: ffff80001d666ca0 x28: ffff700003accd80 x27: dfff800000000000 x26: 1fffe000198f2857 x25: ffff80001d666c00 x24: ffff800012010fe0 x23: 0000000000000716 x22: ffff0000cc794340 x21: ffff0000cc7940a8 x20: ffff0000cc7942bc x19: ffff0000cc794000 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011ac23e0 x15: 00000000ffffffff x14: ffff0000d3d2b680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d3d2b680 x8 : ffff80000a312728 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001d6662f8 x4 : ffff800014b9fae0 x3 : ffff80000a987d1c x2 : ffff0001b418dd10 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341 gfs2_meta_check_ii+0x80/0x9c fs/gfs2/util.c:498 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x2c8/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] gfs2_lookupi+0x368/0x538 fs/gfs2/inode.c:321 gfs2_lookup_simple+0xe4/0x174 fs/gfs2/inode.c:273 init_journal+0x194/0x1f6c fs/gfs2/ops_fstype.c:748 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:1323 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x90/0x274 fs/super.c:1528 do_new_mount+0x278/0x8fc fs/namespace.c:3005 path_mount+0x594/0x101c fs/namespace.c:3335 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount fs/namespace.c:3533 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533 __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 97970ed1 17ffff43 9786cde5 (d4210000) ---[ end trace 5646573659ae1d92 ]---