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:4021 [gfs2_quotad] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:4021 [gfs2_quotad] do_sync+0x350/0xaf8 fs/gfs2/quota.c:921 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1503! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4021 Comm: gfs2_quotad Not tainted 5.15.164-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:1502 [inline] pc : gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1527 lr : add_to_queue fs/gfs2/glock.c:1502 [inline] lr : gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1527 sp : ffff80001ab17990 x29: ffff80001ab17a00 x28: ffff0000d3b7a920 x27: ffff0000d3b7a8b0 x26: 0000000000000040 x25: ffff0000d3b7a8b8 x24: ffff0000c7885a00 x23: ffff0000d1ae3e38 x22: ffff0000d1ae3e5a x21: dfff800000000000 x20: 0000000000000008 x19: ffff0000d1d892c0 x18: 0000000000000002 x17: 0000000000000000 x16: ffff800011ab8bb8 x15: 00000000ffffffff x14: ffff0000d76a3680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : 115a709af5170c00 x8 : 115a709af5170c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001ab16c38 x4 : ffff800014b9f960 x3 : ffff800008335bd8 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1502 [inline] gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1527 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] do_sync+0x358/0xaf8 fs/gfs2/quota.c:921 gfs2_quota_sync+0x2e8/0x548 fs/gfs2/quota.c:1329 quotad_check_timeo fs/gfs2/quota.c:1519 [inline] gfs2_quotad+0x380/0x788 fs/gfs2/quota.c:1586 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Code: aa1f03e0 f85f03a1 52800022 97ffe3ad (d4210000) ---[ end trace b4120250bd5f3e59 ]---