gfs2: fsid=syz:syz.0: new: gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: new: do_sync+0x3ab/0xc60 fs/gfs2/quota.c:921 gfs2: fsid=syz:syz.0: pid: 4313 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:4313 [poweroff] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:4313 [poweroff] do_sync+0x3ab/0xc60 fs/gfs2/quota.c:921 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1503! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4313 Comm: poweroff Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x10c7/0x15e0 fs/gfs2/glock.c:1527 Code: ef e8 1d fd 34 fe 0f b7 4d 00 48 c7 c7 40 90 ed 8a 4c 89 e6 89 da e8 28 cd a8 06 31 ff 4c 89 f6 ba 01 00 00 00 e8 d9 86 ff ff <0f> 0b e8 82 0c eb fd e8 bd 55 6b fd e9 0f f9 ff ff 48 8d 5a 08 48 RSP: 0018:ffffc900031dfb38 EFLAGS: 00010246 RAX: 0cb6c8e3d03e4a00 RBX: 0000000000000008 RCX: ffff8880252b1dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88802a21cb5a R08: ffffffff8394d1b9 R09: fffffbfff1c154b6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888076bc52c0 R13: dffffc0000000000 R14: ffff88805e047b60 R15: ffff88802a21cb22 FS: 00007fbbcdd9e380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30512ff8 CR3: 000000013fef1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] do_sync+0x3b3/0xc60 fs/gfs2/quota.c:921 gfs2_quota_sync+0x379/0x810 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x49/0xb0 fs/gfs2/super.c:647 iterate_supers+0x127/0x1e0 fs/super.c:718 ksys_sync+0xc8/0x1c0 fs/sync.c:103 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fbbcdef77e7 Code: 83 c8 ff 44 89 c7 48 89 44 24 08 e8 82 e8 f9 ff 48 8b 44 24 08 48 83 c4 18 c3 c3 0f 1f 84 00 00 00 00 00 b8 a2 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 11 56 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd95e8c5c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbbcdef77e7 RDX: 0000000000000078 RSI: 00007fbbce0868ca RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000001 R09: 00007fbbce0868ca R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd95e8c718 R13: 00007ffd95e8c728 R14: 000056141ba83169 R15: 00007fbbce0cfa80 Modules linked in: ---[ end trace b85ff69000e866de ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x10c7/0x15e0 fs/gfs2/glock.c:1527 Code: ef e8 1d fd 34 fe 0f b7 4d 00 48 c7 c7 40 90 ed 8a 4c 89 e6 89 da e8 28 cd a8 06 31 ff 4c 89 f6 ba 01 00 00 00 e8 d9 86 ff ff <0f> 0b e8 82 0c eb fd e8 bd 55 6b fd e9 0f f9 ff ff 48 8d 5a 08 48 RSP: 0018:ffffc900031dfb38 EFLAGS: 00010246 RAX: 0cb6c8e3d03e4a00 RBX: 0000000000000008 RCX: ffff8880252b1dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88802a21cb5a R08: ffffffff8394d1b9 R09: fffffbfff1c154b6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888076bc52c0 R13: dffffc0000000000 R14: ffff88805e047b60 R15: ffff88802a21cb22 FS: 00007fbbcdd9e380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30512ff8 CR3: 000000013fef1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400