gfs2: fsid=syz:syz.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=syz:syz.0: H: s:EX f:cH e:0 p:4922 [syz.3.267] gfs2_quota_sync+0x2e4/0x534 fs/gfs2/quota.c:1329 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1564! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4922 Comm: syz.3.267 Not tainted 6.1.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1563 [inline] pc : gfs2_glock_nq+0x1164/0x13d8 fs/gfs2/glock.c:1589 lr : add_to_queue fs/gfs2/glock.c:1563 [inline] lr : gfs2_glock_nq+0x1164/0x13d8 fs/gfs2/glock.c:1589 sp : ffff80001e4978c0 x29: ffff80001e497940 x28: ffff0000c3788e60 x27: ffff0000c3788e00 x26: ffff0000ecf4c010 x25: ffff0000d2c5d270 x24: ffff0000c3788e22 x23: ffff0000c3788e5a x22: ffff0000ecf4c018 x21: ffff0000d18353c0 x20: dfff800000000000 x19: 0000000000000008 x18: ffff80001e496960 x17: 5f32736667205d37 x16: ffff800012170194 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000040000 x11: 0000000000014ef2 x10: ffff800022ca9000 x9 : a6cdb3a17fb46300 x8 : a6cdb3a17fb46300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e496d18 x4 : ffff800015942b60 x3 : ffff80000834dfd4 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1563 [inline] gfs2_glock_nq+0x1164/0x13d8 fs/gfs2/glock.c:1589 gfs2_glock_nq_init fs/gfs2/glock.h:264 [inline] do_sync+0x39c/0xb48 fs/gfs2/quota.c:921 gfs2_quota_sync+0x2e4/0x534 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:650 sync_fs_one_sb+0xd8/0x120 fs/sync.c:84 iterate_supers+0x124/0x1dc fs/super.c:746 ksys_sync+0xc8/0x1cc fs/sync.c:103 __arm64_sys_sync+0x14/0x24 fs/sync.c:113 __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:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 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+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1f03e0 f85f83a1 52800022 97ffe123 (d4210000) ---[ end trace 0000000000000000 ]---