gfs2: fsid=loop1.0: G: s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:5 m:20 p:0 gfs2: fsid=loop1.0: H: s:EX f:cH e:0 p:3124 [syz-executor.1] gfs2_quota_sync+0xf0/0x204 fs/gfs2/quota.c:1318 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1560! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3124 Comm: syz-executor.1 Not tainted 6.1.0-rc2-syzkaller-154433-g247f34f7b803 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue+0x6ec/0x780 fs/gfs2/glock.c:1559 lr : add_to_queue+0x6ec/0x780 fs/gfs2/glock.c:1559 sp : ffff800010ff3a40 x29: ffff800010ff3a50 x28: ffff00012f6b3900 x27: ffff00011e10e000 x26: ffff00012f6b3900 x25: 0000000000000400 x24: ffff0000c5df7400 x23: 0000000000000000 x22: ffff0000c5df7400 x21: ffff00011e10f270 x20: ffff00012f6b3938 x19: ffff00011e8e9d38 x18: 00000000000002f9 x17: 6667205d312e726f x16: 7475636578652d7a x15: 79735b2034323133 x14: 3a7020303a652048 x13: 205d343231335420 x12: 5b5d323438303239 x11: ff8080000926b728 x10: 0000000000000000 x9 : e2ade37c59737a00 x8 : e2ade37c59737a00 x7 : 205b5d3234383032 x6 : ffff80000c0903b4 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue+0x6ec/0x780 fs/gfs2/glock.c:1559 gfs2_glock_nq+0x90/0x220 fs/gfs2/glock.c:1585 gfs2_glock_nq_init fs/gfs2/glock.h:264 [inline] do_sync+0x1dc/0x650 fs/gfs2/quota.c:910 gfs2_quota_sync+0xf0/0x204 fs/gfs2/quota.c:1318 gfs2_sync_fs+0x30/0x78 fs/gfs2/super.c:643 sync_filesystem+0x68/0x134 fs/sync.c:56 generic_shutdown_super+0x38/0x198 fs/super.c:473 kill_block_super+0x30/0x78 fs/super.c:1427 gfs2_kill_sb+0x68/0x78 deactivate_locked_super+0x70/0xe8 fs/super.c:331 deactivate_super+0xd0/0xd4 fs/super.c:362 cleanup_mnt+0x184/0x1c0 fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1127 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: 52800022 aa1f03e0 aa1303e1 97fff219 (d4210000) ---[ end trace 0000000000000000 ]---