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: 11758 Comm: syz-executor.1 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x202/0x31e lib/dump_stack.c:120
 register_lock_class+0xedb/0x1490 kernel/locking/lockdep.c:936
 __lock_acquire+0x186/0x6040 kernel/locking/lockdep.c:4781
 lock_acquire+0x17f/0x720 kernel/locking/lockdep.c:5512
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xb3/0x100 kernel/locking/spinlock.c:159
 skb_dequeue net/core/skbuff.c:3095 [inline]
 skb_queue_purge+0x2e/0x1c0 net/core/skbuff.c:3133
 l2cap_conn_del+0x406/0x650 net/bluetooth/l2cap_core.c:1896
 hci_disconn_cfm include/net/bluetooth/hci_core.h:1486 [inline]
 hci_conn_hash_flush+0x112/0x240 net/bluetooth/hci_conn.c:1598
 hci_dev_do_close+0xa04/0xfe0 net/bluetooth/hci_core.c:1778
 hci_rfkill_set_block+0x10f/0x180 net/bluetooth/hci_core.c:2217
 rfkill_set_block+0x1f1/0x440 net/rfkill/core.c:344
 rfkill_fop_write+0x594/0x750 net/rfkill/core.c:1268
 vfs_write+0x289/0xc90 fs/read_write.c:603
 ksys_write+0x171/0x2a0 fs/read_write.c:658
 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f12d23fe188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9
RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffde0c7e86f R14: 00007f12d23fe300 R15: 0000000000022000