------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1531! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4445 Comm: syz-executor.4 Not tainted 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #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+0x690/0x724 fs/gfs2/glock.c:1530 lr : add_to_queue+0x690/0x724 fs/gfs2/glock.c:1530 sp : ffff800010f7ba40 x29: ffff800010f7ba50 x28: ffff00011c84c180 x27: ffff00011df06000 x26: ffff00011c84c180 x25: 0000000000000400 x24: ffff0000c940ae00 x23: 0000000000000000 x22: ffff0000c940ae00 x21: ffff00011df07270 x20: ffff00011c84c1b8 x19: ffff00011d82f540 x18: 00000000000000c0 x17: 715f32736667205d x16: ffff80000dd97118 x15: ffff0000cbfb3400 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000cbfb3400 x11: ff8080000928e3cc x10: 0000000000000000 x9 : 9dd2e690ff94a100 x8 : 9dd2e690ff94a100 x7 : ffff80000c12c9f4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue+0x690/0x724 fs/gfs2/glock.c:1530 gfs2_glock_nq+0x90/0x220 fs/gfs2/glock.c:1556 gfs2_glock_nq_init fs/gfs2/glock.h:262 [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:650 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:1386 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:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 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:1301 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 97fff18b (d4210000) ---[ end trace 0000000000000000 ]---