gfs2: lock type: 8 req lock state : 1 gfs2: G: s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:5 m:20 gfs2: H: s:EX f:cH e:0 p:26412 [gfs2_quotad] gfs2_glock_nq_init fs/gfs2/glock.h:226 [inline] gfs2: H: s:EX f:cH e:0 p:26412 [gfs2_quotad] do_sync+0x3f0/0xba0 fs/gfs2/quota.c:893 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1082! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 26412 Comm: gfs2_quotad Not tainted 4.14.217-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880601960c0 task.stack: ffff8880a1af8000 RIP: 0010:add_to_queue fs/gfs2/glock.c:1082 [inline] RIP: 0010:gfs2_glock_nq.cold+0x279/0x2d0 fs/gfs2/glock.c:1107 RSP: 0018:ffff8880a1affb68 EFLAGS: 00010296 RAX: ffffed101435ff4e RBX: ffff888097933d20 RCX: 1ffff1100c032d38 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff87c0a850 RBP: 000000000000672c R08: 0000000000000041 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809d217118 R13: ffff888097933d20 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dc3dff5988 CR3: 00000000aaf2c000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:228 [inline] do_sync+0x3f8/0xba0 fs/gfs2/quota.c:893 gfs2: fsid=syz:syz.0: found 9 quota changes gfs2_quota_sync+0x4f1/0x690 fs/gfs2/quota.c:1299 quotad_check_timeo fs/gfs2/quota.c:1489 [inline] quotad_check_timeo fs/gfs2/quota.c:1483 [inline] gfs2_quotad+0x23f/0x810 fs/gfs2/quota.c:1554 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 6c 8b 73 18 44 89 f2 48 c7 c7 20 86 c0 87 e8 d3 88 f9 ff 4c 89 ee 31 ff e8 15 81 b2 fb <0f> 0b e8 2e b9 78 fa 4c 8b 04 24 e9 ac fd ff ff 31 ed e9 14 fe RIP: add_to_queue fs/gfs2/glock.c:1082 [inline] RSP: ffff8880a1affb68 RIP: gfs2_glock_nq.cold+0x279/0x2d0 fs/gfs2/glock.c:1107 RSP: ffff8880a1affb68 ---[ end trace 2027f88e9c2462ce ]---