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: 0 PID: 991 Comm: kworker/u4:5 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: 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+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_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+0x20d/0x3f0 drivers/tty/tty_buffer.c:521 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