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:341! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5130 Comm: syz.2.200 Not tainted 5.15.176-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 : ffff80001d467280 x29: ffff80001d4673b0 x28: ffff700003a8ce60 x27: dfff800000000000 x26: 1fffe000183d8057 x25: ffff80001d467300 x24: ffff80001209ece0 x23: 0000000000000306 x22: ffff0000c1ec0340 x21: ffff0000c1ec00a8 x20: ffff0000c1ec02bc x19: ffff0000c1ec0000 x18: 1fffe0003683318e x17: 1fffe0003683318e x16: ffff800011b4c240 x15: ffff800014bffac0 x14: 1ffff0000296c06c x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000ebb451c0 x8 : ffff80000a398b0c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff8000085567f8 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_quota_init+0xc30/0xebc fs/gfs2/quota.c:1406 gfs2_make_fs_rw+0x364/0x4c4 fs/gfs2/super.c:155 gfs2_fill_super+0x1c74/0x2010 fs/gfs2/ops_fstype.c:1276 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 9794f26c 17ffff43 9784ae3a (d4210000) ---[ end trace 96c86755e3b7703f ]---