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: 1315 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
assign_lock_key kernel/locking/lockdep.c:728 [inline]
register_lock_class+0xe82/0x11c0 kernel/locking/lockdep.c:754
__lock_acquire+0x17d/0x3ff0 kernel/locking/lockdep.c:3304
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:36 [inline]
percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
hci_uart_tty_receive+0xc6/0x530 drivers/bluetooth/hci_ldisc.c:611
tiocsti drivers/tty/tty_io.c:2193 [inline]
tty_ioctl+0x1026/0x1630 drivers/tty/tty_io.c:2580
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f05edf1a3c9
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f05ec80b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f05ee02d2c0 RCX: 00007f05edf1a3c9
RDX: 00000000200000c0 RSI: 0000000000005412 RDI: 0000000000000003
RBP: 00007f05edf7533f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffddd9b3e8f R14: 00007f05ec80b300 R15: 0000000000022000
EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue
audit: type=1800 audit(1662737770.526:1435): pid=1338 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="file0" dev="loop5" ino=861 res=0
attempt to access beyond end of device
loop5: rw=2049, want=128, limit=16
Bluetooth: hci6: Frame reassembly failed (-84)
audit: type=1800 audit(1662737770.806:1436): pid=1377 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="file0" dev="loop5" ino=862 res=0
Bluetooth: hci9: Frame reassembly failed (-84)
Bluetooth: hci9: Frame reassembly failed (-84)
attempt to access beyond end of device
loop5: rw=2049, want=128, limit=16
EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue
Bluetooth: hci6: command 0x1003 tx timeout
Bluetooth: hci6: sending frame failed (-49)
Bluetooth: hci9: command 0x1003 tx timeout
Bluetooth: hci9: sending frame failed (-49)
Bluetooth: hci6: command 0x1001 tx timeout
Bluetooth: hci6: sending frame failed (-49)
Bluetooth: hci9: command 0x1001 tx timeout
Bluetooth: hci9: sending frame failed (-49)
Bluetooth: hci6: command 0x1009 tx timeout
Bluetooth: hci9: command 0x1009 tx timeout