bh = 2051 (type: exp=14, found=8) function = gfs2_quota_init, file = fs/gfs2/quota.c, line = 1406 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: 1 PID: 4925 Comm: syz.1.121 Not tainted 6.1.129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (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 : ffff800021d07320 x29: ffff800021d07450 x28: ffff800021d073a0 x27: ffff7000043a0e74 x26: dfff800000000000 x25: 1fffe0001eae8857 x24: 000000000001a6a6 x23: 0000000000000000 x22: ffff0000f5744340 x21: ffff0000f57440a8 x20: ffff0000f57442bc x19: ffff0000f5744000 x18: 00000000471395e0 x17: 0000000000000000 x16: ffff80001232163c x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 000000000007ffff x10: ffff80002245a000 x9 : ffff80000a498810 x8 : 0000000000080000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021d06c38 x4 : ffff800015bd5320 x3 : ffff800008587574 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_quota_init+0xc50/0xee4 fs/gfs2/quota.c:1406 gfs2_make_fs_rw+0x360/0x4b0 fs/gfs2/super.c:155 gfs2_fill_super+0x1c4c/0x1fdc fs/gfs2/ops_fstype.c:1271 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+0x498/0x588 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 97936d9a 17ffff55 97816c2d (d4210000) ---[ end trace 0000000000000000 ]---