gfs2: pid: 13601 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:13601 [syz-executor.0] gfs2_glock_nq_init fs/gfs2/glock.h:226 [inline] gfs2: H: s:EX f:cH e:0 p:13601 [syz-executor.0] do_sync+0x442/0xc90 fs/gfs2/quota.c:896 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1082! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13601 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:add_to_queue fs/gfs2/glock.c:1082 [inline] RIP: 0010:gfs2_glock_nq.cold+0x276/0x2cd fs/gfs2/glock.c:1107 Code: 0f b6 04 02 84 c0 74 04 3c 03 7e 6e 8b 73 18 44 89 ea 48 c7 c7 60 4f a6 88 e8 02 57 f8 ff 48 8b 74 24 08 31 ff e8 0b cc 0a fb <0f> 0b e8 74 02 9d f9 4c 8b 04 24 e9 aa fd ff ff 31 ed e9 12 fe ff RSP: 0018:ffff88803733f7e8 EFLAGS: 00010292 RAX: 0000000000000000 RBX: ffff88809f6f3cf8 RCX: ffffc90005c4e000 RDX: 0000000000040000 RSI: ffffffff83063bf2 RDI: ffffffff88a67230 RBP: 0000000000003521 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880ab6b3638 R13: 0000000000000001 R14: 0000000000000000 R15: ffff88809dd81180 FS: 00007f3ba6b2f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005560c6b0d198 CR3: 0000000093a1b000 CR4: 00000000003406e0 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+0x44a/0xc90 fs/gfs2/quota.c:896 gfs2_quota_sync+0x5d1/0x780 fs/gfs2/quota.c:1303 gfs2_sync_fs+0x40/0xb0 fs/gfs2/super.c:957 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem+0x105/0x250 fs/sync.c:64 gfs2_remount_fs+0x11d/0x9a0 fs/gfs2/super.c:1245 do_remount_sb+0x1a0/0x6a0 fs/super.c:888 do_remount fs/namespace.c:2313 [inline] do_mount+0x1a62/0x2f50 fs/namespace.c:2813 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f3ba85bd0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3ba6b2f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3ba86dcf80 RCX: 00007f3ba85bd0a9 RDX: 0000000000000000 RSI: 0000000020004300 RDI: 0000000000000000 RBP: 00007f3ba8618ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001848423 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc548edecf R14: 00007f3ba6b2f300 R15: 0000000000022000 Modules linked in: ---[ end trace 6b5e647d2040891a ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1082 [inline] RIP: 0010:gfs2_glock_nq.cold+0x276/0x2cd fs/gfs2/glock.c:1107 Code: 0f b6 04 02 84 c0 74 04 3c 03 7e 6e 8b 73 18 44 89 ea 48 c7 c7 60 4f a6 88 e8 02 57 f8 ff 48 8b 74 24 08 31 ff e8 0b cc 0a fb <0f> 0b e8 74 02 9d f9 4c 8b 04 24 e9 aa fd ff ff 31 ed e9 12 fe ff RSP: 0018:ffff88803733f7e8 EFLAGS: 00010292 RAX: 0000000000000000 RBX: ffff88809f6f3cf8 RCX: ffffc90005c4e000 RDX: 0000000000040000 RSI: ffffffff83063bf2 RDI: ffffffff88a67230 RBP: 0000000000003521 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880ab6b3638 R13: 0000000000000001 R14: 0000000000000000 R15: ffff88809dd81180 XFS (loop5): DAX enabled. Warning: EXPERIMENTAL, use at your own risk FS: 00007f3ba6b2f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005560c6b0d198 CR3: 0000000093a1b000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400