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: 12899 Comm: syz-executor.1 Not tainted 5.16.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:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:951 [inline] register_lock_class+0xf4b/0x1390 kernel/locking/lockdep.c:1263 __lock_acquire+0x149/0x2b00 kernel/locking/lockdep.c:4906 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5639 percpu_down_read+0x44/0x190 include/linux/percpu-rwsem.h:51 hci_uart_tty_receive+0x87/0x4a0 drivers/bluetooth/hci_ldisc.c:606 tiocsti drivers/tty/tty_io.c:2293 [inline] tty_ioctl+0xde6/0x1830 drivers/tty/tty_io.c:2692 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f837b7a0fe9 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:00007f837a0b3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f837b8b41d0 RCX: 00007f837b7a0fe9 RDX: 00000000200000c0 RSI: 0000000000005412 RDI: 000000000000000a RBP: 00007f837b7fb08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe67bca38f R14: 00007f837a0b3300 R15: 0000000000022000