INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 7332 Comm: kworker/1:4 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events l2cap_chan_timeout Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0xa3/0xc8 lib/dump_stack.c:120 assign_lock_key kernel/locking/lockdep.c:935 [inline] register_lock_class+0x575/0x580 kernel/locking/lockdep.c:1247 __lock_acquire+0x75/0x1770 kernel/locking/lockdep.c:4711 lock_acquire+0xf9/0x420 kernel/locking/lockdep.c:5437 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] lock_sock_nested+0x2c/0x90 net/core/sock.c:3049 l2cap_sock_teardown_cb+0x1f/0x130 net/bluetooth/l2cap_sock.c:1520 l2cap_chan_del+0x35/0x320 net/bluetooth/l2cap_core.c:618 l2cap_chan_close+0xfb/0x270 net/bluetooth/l2cap_core.c:823 l2cap_chan_timeout+0x70/0xe0 net/bluetooth/l2cap_core.c:436 process_one_work+0x293/0x600 kernel/workqueue.c:2275 worker_thread+0x38/0x380 kernel/workqueue.c:2421 kthread+0x145/0x170 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296