gfs2: fsid=loop4.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=loop4.0: H: s:EX f:cH e:0 p:3139 [syz-executor.4] 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: 1 PID: 3139 Comm: syz-executor.4 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #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 : ffff800010fb3a40 x29: ffff800010fb3a50 x28: ffff0001145d7c80 x27: ffff000114d44000 x26: ffff0001145d7c80 x25: 0000000000000400 x24: ffff0000c7a38c00 x23: 0000000000000000 x22: ffff0000c7a38c00 x21: ffff000114d45270 x20: ffff0001145d7cb8 x19: ffff000112b3ed48 x18: 00000000000000c0 x17: 6667205d342e726f x16: ffff80000dbe6158 x15: ffff00010d999a40 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff00010d999a40 x11: ff8080000926d2a8 x10: 0000000000000000 x9 : 9d75803fc898f700 x8 : 9d75803fc898f700 x7 : ffff80000c091ebc x6 : 0000000000000000 x5 : 0000000000000080 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:474 kill_block_super+0x30/0x78 fs/super.c:1428 gfs2_kill_sb+0x68/0x78 deactivate_locked_super+0x70/0xe8 fs/super.c:332 deactivate_super+0xd0/0xd4 fs/super.c:363 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:1132 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:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: 52800022 aa1f03e0 aa1303e1 97fff219 (d4210000) ---[ end trace 0000000000000000 ]---