gfs2: fsid=syz:syz.0: G: s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:7 m:20 p:0 gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:5952 [syz-executor409] gfs2_quota_sync+0x2e4/0x534 fs/gfs2/quota.c:1318 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1551! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5952 Comm: syz-executor409 Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1550 [inline] pc : gfs2_glock_nq+0x1098/0x137c fs/gfs2/glock.c:1576 lr : add_to_queue fs/gfs2/glock.c:1550 [inline] lr : gfs2_glock_nq+0x1098/0x137c fs/gfs2/glock.c:1576 sp : ffff80001e237580 x29: ffff80001e237600 x28: ffff0000cde2b260 x27: ffff0000cde2b200 x26: ffff0000e05c92d0 x25: ffff0000c9fdd278 x24: ffff0000cde2b222 x23: ffff0000cde2b25a x22: ffff0000e05c92d8 x21: ffff0000c7131000 x20: dfff800000000000 x19: 0000000000000008 x18: ffff80001e236720 x17: 5d393034726f7475 x16: ffff80001246263c x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff8080000a451aa8 x10: 0000000000000000 x9 : 21825a28ce6a3400 x8 : 21825a28ce6a3400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e2369d8 x4 : ffff800015dc52c0 x3 : ffff80000859c514 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1550 [inline] gfs2_glock_nq+0x1098/0x137c fs/gfs2/glock.c:1576 gfs2_glock_nq_init fs/gfs2/glock.h:261 [inline] do_sync+0x39c/0xb48 fs/gfs2/quota.c:910 gfs2_quota_sync+0x2e4/0x534 fs/gfs2/quota.c:1318 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:656 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x70/0x328 fs/super.c:473 kill_block_super+0x70/0xdc fs/super.c:1398 gfs2_kill_sb+0x2cc/0x330 deactivate_locked_super+0xac/0x124 fs/super.c:331 deactivate_super+0xf0/0x110 fs/super.c:362 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1177 __cleanup_mnt+0x20/0x30 fs/namespace.c:1184 task_work_run+0x240/0x2f0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x4fc/0x1a30 kernel/exit.c:869 do_group_exit+0x194/0x22c kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1028 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: aa1f03e0 f9401fe1 52800022 97ffde03 (d4210000) ---[ end trace 0000000000000000 ]---