gfs2: fsid=syz:syz.0: G: s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:6 m:20 p:0 gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:6083 [syz-executor582] gfs2_quota_sync+0x338/0x584 fs/gfs2/quota.c:1347 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1544! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6083 Comm: syz-executor582 Not tainted 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1543 [inline] pc : gfs2_glock_nq+0xe74/0x1124 fs/gfs2/glock.c:1569 lr : add_to_queue fs/gfs2/glock.c:1543 [inline] lr : gfs2_glock_nq+0xe74/0x1124 fs/gfs2/glock.c:1569 sp : ffff800096d175d0 x29: ffff800096d17640 x28: ffff0000d9c6ec60 x27: ffff0000dce0fb70 x26: 0000000000000000 x25: dfff800000000000 x24: ffff0000d9c6ec22 x23: ffff0000dce0fb60 x22: ffff0000d9c6ec5a x21: ffff0000dce0fb78 x20: ffff0000d5c51270 x19: 0000000000000008 x18: ffff800096d16760 x17: 5d323835726f7475 x16: ffff80008a71b360 x15: 0000000000000001 x14: 1ffff00012da2d78 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000000000 x9 : 4844adc74907e100 x8 : 4844adc74907e100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800096d16a18 x4 : ffff80008e4210a0 x3 : ffff800082b180c4 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1543 [inline] gfs2_glock_nq+0xe74/0x1124 fs/gfs2/glock.c:1569 gfs2_glock_nq_init fs/gfs2/glock.h:252 [inline] do_sync+0x32c/0xacc fs/gfs2/quota.c:921 gfs2_quota_sync+0x338/0x584 fs/gfs2/quota.c:1347 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:667 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x70/0x2b8 fs/super.c:666 kill_block_super+0x40/0x74 fs/super.c:1646 gfs2_kill_sb+0x2cc/0x330 deactivate_locked_super+0xac/0x12c fs/super.c:481 deactivate_super+0xe0/0x100 fs/super.c:514 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1254 __cleanup_mnt+0x20/0x30 fs/namespace.c:1261 task_work_run+0x230/0x2e0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x63c/0x1f58 kernel/exit.c:874 do_group_exit+0x194/0x22c kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1033 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 Code: aa1f03e0 aa1703e1 52800022 97ffdf2e (d4210000) ---[ end trace 0000000000000000 ]---