INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 10399 Comm: kworker/1:0 Not tainted 5.12.0-rc2-syzkaller-00059-g144c79ef3353 #0 Hardware name: linux,dummy-virt (DT) Workqueue: events l2cap_chan_timeout Call trace: dump_backtrace+0x0/0x3e0 arch/arm64/include/asm/pointer_auth.h:76 show_stack+0x18/0x70 arch/arm64/kernel/stacktrace.c:191 __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x120/0x1a8 lib/dump_stack.c:120 assign_lock_key kernel/locking/lockdep.c:935 [inline] register_lock_class+0xf78/0x102c kernel/locking/lockdep.c:1247 __lock_acquire+0x10c/0x47b0 kernel/locking/lockdep.c:4779 lock_acquire kernel/locking/lockdep.c:5510 [inline] lock_acquire+0x5b0/0xbbc kernel/locking/lockdep.c:5475 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa8/0x160 kernel/locking/spinlock.c:159 skb_dequeue+0x24/0x1a0 net/core/skbuff.c:3094 skb_queue_purge+0x24/0x3c net/core/skbuff.c:3132 l2cap_chan_del+0x374/0x564 net/bluetooth/l2cap_core.c:657 l2cap_chan_close+0xf4/0x88c net/bluetooth/l2cap_core.c:823 l2cap_chan_timeout+0x110/0x264 net/bluetooth/l2cap_core.c:436 process_one_work+0x798/0x1764 kernel/workqueue.c:2275 worker_thread+0x3d4/0xcd0 kernel/workqueue.c:2421 kthread+0x320/0x3bc kernel/kthread.c:292 ret_from_fork+0x10/0x3c arch/arm64/kernel/entry.S:958