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: 3642 Comm: kworker/u5:8 Not tainted 5.17.0-rc3-syzkaller-00247-g83e396641110 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci8 hci_cmd_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:951 [inline] register_lock_class+0xd28/0x1030 kernel/locking/lockdep.c:1263 __lock_acquire+0x106/0x5470 kernel/locking/lockdep.c:4906 lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] hci_uart_send_frame+0x8c/0x6b0 drivers/bluetooth/hci_ldisc.c:279 hci_send_frame+0x1c0/0x370 net/bluetooth/hci_core.c:2941 hci_cmd_work+0x204/0x3c0 net/bluetooth/hci_core.c:3860 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295