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: 0 UID: 0 PID: 17888 Comm: khidpd_10000008 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
assign_lock_key kernel/locking/lockdep.c:984 [inline]
register_lock_class+0x497/0x4b0 kernel/locking/lockdep.c:1299
__lock_acquire+0xa4/0x2890 kernel/locking/lockdep.c:5112
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x179/0x330 kernel/locking/lockdep.c:5825
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
set_task_blocked_on include/linux/sched.h:2165 [inline]
__mutex_lock_common kernel/locking/mutex.c:701 [inline]
__mutex_lock+0xca5/0x1ca0 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x45e/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x983/0xb10 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
non-slab/vmalloc memory
list_del corruption. prev->next should be ffffc9000c43fbf0, but was 0000000000000000. (prev=ffff8880342780a8)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:62!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 17888 Comm: khidpd_10000008 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__list_del_entry_valid_or_report+0x17a/0x200 lib/list_debug.c:62
Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 a0 b8 f2 8b e8 a7 99 e7 fc 90 <0f> 0b 4c 89 e7 e8 3c 1d 4f fd 48 89 ea 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc9000c43fac0 EFLAGS: 00010086
RAX: 000000000000006d RBX: ffffc9000c43fbf0 RCX: ffffffff819c8f65
RDX: 0000000000000000 RSI: ffffffff819d0b49 RDI: 0000000000000005
RBP: ffff8880342780a8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000072490 R12: ffff8880342780a8
R13: dffffc0000000000 R14: ffff888034278058 R15: ffff888034278058
FS: 0000000000000000(0000) GS:ffff8881248f5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555582f3e648 CR3: 00000000757af000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
__list_del_entry_valid include/linux/list.h:132 [inline]
__list_del_entry include/linux/list.h:223 [inline]
list_del include/linux/list.h:237 [inline]
__mutex_remove_waiter+0x1a/0x1a0 kernel/locking/mutex.c:221
__mutex_lock_common kernel/locking/mutex.c:742 [inline]
__mutex_lock+0x12f6/0x1ca0 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x45e/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x983/0xb10 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x17a/0x200 lib/list_debug.c:62
Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 a0 b8 f2 8b e8 a7 99 e7 fc 90 <0f> 0b 4c 89 e7 e8 3c 1d 4f fd 48 89 ea 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc9000c43fac0 EFLAGS: 00010086
RAX: 000000000000006d RBX: ffffc9000c43fbf0 RCX: ffffffff819c8f65
RDX: 0000000000000000 RSI: ffffffff819d0b49 RDI: 0000000000000005
RBP: ffff8880342780a8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000072490 R12: ffff8880342780a8
R13: dffffc0000000000 R14: ffff888034278058 R15: ffff888034278058
FS: 0000000000000000(0000) GS:ffff8881248f5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555582f3e648 CR3: 00000000757af000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600