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:6212 [syz-executor.2] gfs2_quota_sync+0x338/0x584 fs/gfs2/quota.c:1370 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1560! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6212 Comm: syz-executor.2 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1559 [inline] pc : gfs2_glock_nq+0x12d4/0x169c fs/gfs2/glock.c:1604 lr : add_to_queue fs/gfs2/glock.c:1559 [inline] lr : gfs2_glock_nq+0x12d4/0x169c fs/gfs2/glock.c:1604 sp : ffff8000979f77b0 x29: ffff8000979f7820 x28: 0000000000000400 x27: ffff0000ca3c5200 x26: 0000000000000000 x25: ffff0000ca3c5200 x24: ffff0000ef49fb60 x23: ffff0000ca3c5222 x22: ffff0000ca3c525a x21: ffff0000ef49fb78 x20: ffff0000d4919270 x19: 0000000000000008 x18: ffff8000979f6920 x17: 205d322e726f7475 x16: ffff80008ad8b338 x15: 0000000000000001 x14: 1ffff00012f3ed7c x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 196a7755a4184e00 x8 : 196a7755a4184e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000979f6bf8 x4 : ffff80008edb26c0 x3 : ffff8000803744dc x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1559 [inline] gfs2_glock_nq+0x12d4/0x169c fs/gfs2/glock.c:1604 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] do_sync+0x32c/0xacc fs/gfs2/quota.c:946 gfs2_quota_sync+0x338/0x584 fs/gfs2/quota.c:1370 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:669 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x70/0x2b8 fs/super.c:620 kill_block_super+0x44/0x90 fs/super.c:1675 gfs2_kill_sb+0x2cc/0x330 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: aa1f03e0 aa1803e1 52800022 97ffde0e (d4210000) ---[ end trace 0000000000000000 ]---