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: 44 Comm: kworker/u4:2 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc 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+0x105/0x54d0 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_tty_receive+0xc2/0x710 drivers/bluetooth/hci_ldisc.c:606 tty_ldisc_receive_buf+0x14d/0x190 drivers/tty/tty_buffer.c:455 tty_port_default_receive_buf+0x6e/0xa0 drivers/tty/tty_port.c:39 receive_buf drivers/tty/tty_buffer.c:471 [inline] flush_to_ldisc+0x20a/0x3f0 drivers/tty/tty_buffer.c:521 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295