INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 1 PID: 5682 Comm: gfs2_quotad Not tainted 6.1.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 assign_lock_key+0x1f5/0x230 kernel/locking/lockdep.c:974 register_lock_class+0x20e/0x860 kernel/locking/lockdep.c:1287 __lock_acquire+0x160/0x7c50 kernel/locking/lockdep.c:4928 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 finish_wait+0xb8/0x1d0 kernel/sched/wait.c:410 gfs2_quotad+0x4e6/0x670 fs/gfs2/quota.c:1579 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 list_del corruption. prev->next should be ffffc90003497e58, but was 0000000000000000. (prev=ffff8880264ccbd8) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:61! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5682 Comm: gfs2_quotad Not tainted 6.1.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:__list_del_entry_valid+0x10a/0x120 lib/list_debug.c:59 Code: e8 8b 47 f8 05 0f 0b 48 c7 c7 e0 11 bf 8a 48 89 de e8 7a 47 f8 05 0f 0b 48 c7 c7 40 12 bf 8a 48 89 de 4c 89 f9 e8 66 47 f8 05 <0f> 0b 48 c7 c7 c0 12 bf 8a 48 89 de 4c 89 f1 e8 52 47 f8 05 0f 0b RSP: 0018:ffffc90003497d30 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffffc90003497e58 RCX: b0805e9a3272b200 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed10171e4f34 R10: ffffed10171e4f34 R11: 1ffff110171e4f33 R12: dffffc0000000000 R13: ffff8880264ccb98 R14: ffff8880264ccbd8 R15: ffff8880264ccbd8 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000005000 CR3: 000000007cb1e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:134 [inline] list_del_init include/linux/list.h:206 [inline] finish_wait+0xc3/0x1d0 kernel/sched/wait.c:411 gfs2_quotad+0x4e6/0x670 fs/gfs2/quota.c:1579 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid+0x10a/0x120 lib/list_debug.c:59 Code: e8 8b 47 f8 05 0f 0b 48 c7 c7 e0 11 bf 8a 48 89 de e8 7a 47 f8 05 0f 0b 48 c7 c7 40 12 bf 8a 48 89 de 4c 89 f9 e8 66 47 f8 05 <0f> 0b 48 c7 c7 c0 12 bf 8a 48 89 de 4c 89 f1 e8 52 47 f8 05 0f 0b RSP: 0018:ffffc90003497d30 EFLAGS: 00010046 RAX: 000000000000006d RBX: ffffc90003497e58 RCX: b0805e9a3272b200 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed10171e4f34 R10: ffffed10171e4f34 R11: 1ffff110171e4f33 R12: dffffc0000000000 R13: ffff8880264ccb98 R14: ffff8880264ccbd8 R15: ffff8880264ccbd8 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000005000 CR3: 000000007cb1e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400