gfs2: fsid=syz:syz.0: new: gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: new: do_sync+0x3b0/0xc00 fs/gfs2/quota.c:921 gfs2: fsid=syz:syz.0: pid: 4335 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:4335 [syz-executor] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:4335 [syz-executor] do_sync+0x3b0/0xc00 fs/gfs2/quota.c:921 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1503! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4335 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527 Code: 95 e4 57 fe 89 da 41 0f b7 0f 48 c7 c7 c0 8c 4d 8a 4c 89 ee e8 70 9f 3a 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 68 7c 13 fe e8 d3 2a 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d RSP: 0018:ffffc900030bf600 EFLAGS: 00010246 RAX: 7fd740d7f8096700 RBX: ffff8880693cdf58 RCX: ffff88807a635940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: dffffc0000000000 R13: ffff88807b4652c0 R14: ffff88805b1f3850 R15: ffff88805b1f385a FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe69f30b440 CR3: 000000000be8e000 CR4: 00000000003506e0 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+0x3b8/0xc00 fs/gfs2/quota.c:921 gfs2_quota_sync+0x32c/0x6f0 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x48/0xb0 fs/gfs2/super.c:647 sync_filesystem+0xe6/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x300 fs/super.c:448 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1148 task_work_run+0x125/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x61e/0x20a0 kernel/exit.c:883 do_group_exit+0x12e/0x300 kernel/exit.c:997 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1d684c717f Code: Unable to access opcode bytes at RIP 0x7f1d684c7155. RSP: 002b:00007fffc627da20 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: 0000000000000004 RBX: 0000000000000003 RCX: 00007f1d684c717f RDX: 0000000000000004 RSI: 00007fffc627dae0 RDI: 00000000000000f8 RBP: 00007fffc627da8c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00000000000927c0 R14: 000000000001644f R15: 00007fffc627dae0 Modules linked in: ---[ end trace b601252ec421e5da ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527 Code: 95 e4 57 fe 89 da 41 0f b7 0f 48 c7 c7 c0 8c 4d 8a 4c 89 ee e8 70 9f 3a 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 68 7c 13 fe e8 d3 2a 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d RSP: 0018:ffffc900030bf600 EFLAGS: 00010246 RAX: 7fd740d7f8096700 RBX: ffff8880693cdf58 RCX: ffff88807a635940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ad33a6 R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: dffffc0000000000 R13: ffff88807b4652c0 R14: ffff88805b1f3850 R15: ffff88805b1f385a FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000