gfs2: fsid=syz:syz.0: new: gfs2_quota_sync+0x2a0/0x5f0 fs/gfs2/quota.c:1320 gfs2: fsid=syz:syz.0: pid: 5023 gfs2: fsid=syz:syz.0: lock type: 8 req lock state : 1 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:5023 [gfs2_quotad] gfs2_quota_sync+0x2a0/0x5f0 fs/gfs2/quota.c:1320 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1551! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5023 Comm: gfs2_quotad Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:add_to_queue fs/gfs2/glock.c:1551 [inline] RIP: 0010:gfs2_glock_nq+0xa45/0x17b0 fs/gfs2/glock.c:1576 Code: 3c 03 0f 8e 1e 0c 00 00 8b 55 18 48 89 de 48 c7 c7 40 82 b8 8a e8 fb 18 cd fd 48 8b 34 24 ba 01 00 00 00 31 ff e8 3b 55 ff ff <0f> 0b 48 c7 44 24 18 00 00 00 00 e8 4b b6 e9 fd 48 89 ef be 01 00 RSP: 0000:ffffc9000341fb58 EFLAGS: 00010292 RAX: 0000000000000000 RBX: ffff88807ada1270 RCX: 0000000000000000 RDX: ffff88801ef0c1c0 RSI: fffff52000683f1c RDI: ffffffff8ab8b8f0 RBP: ffff888073313960 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802b7ce440 R13: 000000000000139f R14: ffff888022742418 R15: ffff888022742400 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1be302000 CR3: 000000000c776000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:261 [inline] do_sync+0x505/0xc90 fs/gfs2/quota.c:912 gfs2_quota_sync+0x2a0/0x5f0 fs/gfs2/quota.c:1320 quotad_check_timeo fs/gfs2/quota.c:1510 [inline] quotad_check_timeo fs/gfs2/quota.c:1504 [inline] gfs2_quotad+0x2c1/0x540 fs/gfs2/quota.c:1557 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1551 [inline] RIP: 0010:gfs2_glock_nq+0xa45/0x17b0 fs/gfs2/glock.c:1576 Code: 3c 03 0f 8e 1e 0c 00 00 8b 55 18 48 89 de 48 c7 c7 40 82 b8 8a e8 fb 18 cd fd 48 8b 34 24 ba 01 00 00 00 31 ff e8 3b 55 ff ff <0f> 0b 48 c7 44 24 18 00 00 00 00 e8 4b b6 e9 fd 48 89 ef be 01 00 RSP: 0000:ffffc9000341fb58 EFLAGS: 00010292 RAX: 0000000000000000 RBX: ffff88807ada1270 RCX: 0000000000000000 RDX: ffff88801ef0c1c0 RSI: fffff52000683f1c RDI: ffffffff8ab8b8f0 RBP: ffff888073313960 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802b7ce440 R13: 000000000000139f R14: ffff888022742418 R15: ffff888022742400 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000000c776000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400