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: 8803 Comm: syz-executor.1 Not tainted 5.19.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
assign_lock_key+0x22a/0x240 kernel/locking/lockdep.c:979
register_lock_class+0x287/0x9d0 kernel/locking/lockdep.c:1292
__lock_acquire+0xe9/0x1f80 kernel/locking/lockdep.c:4932
lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5665
percpu_down_read+0x44/0x190 include/linux/percpu-rwsem.h:51
hci_uart_tty_receive+0x87/0x4a0 drivers/bluetooth/hci_ldisc.c:606
tiocsti+0x237/0x2f0 drivers/tty/tty_io.c:2293
tty_ioctl+0x3a8/0xc60 drivers/tty/tty_io.c:2692
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5d6ca89209
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:00007f5d6b9dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5d6cb9c100 RCX: 00007f5d6ca89209
RDX: 0000000020000000 RSI: 0000000000005412 RDI: 0000000000000003
RBP: 00007f5d6cae3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd57f1c20f R14: 00007f5d6b9dd300 R15: 0000000000022000
Bluetooth: hci6: Frame reassembly failed (-84)
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 8803 Comm: syz-executor.1 Not tainted 5.19.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:__wake_up_locked+0xa7/0x1a0 kernel/sched/wait.c:165
Code: 00 fc ff df 4c 8b 73 40 66 2e 0f 1f 84 00 00 00 00 00 90 4d 39 f4 0f 84 b3 00 00 00 4c 89 f3 49 8d 6e e8 4c 89 f0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 6b 29 75 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc9000582f848 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8880757064c8
RBP: ffffffffffffffe8 R08: dffffc0000000000 R09: fffff52000b05eec
R10: fffff52000b05eed R11: 1ffff92000b05eec R12: ffff888075706508
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000001
FS: 00007f5d6b9dd700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2ad74da68a CR3: 000000002a2a3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_sync_func+0xa8/0x200 kernel/rcu/sync.c:87
rcu_sync_enter+0x20a/0x350 kernel/rcu/sync.c:150
percpu_down_write+0x69/0x2f0 kernel/locking/percpu-rwsem.c:225
hci_uart_tty_close+0x123/0x280 drivers/bluetooth/hci_ldisc.c:539
tty_ldisc_kill drivers/tty/tty_ldisc.c:608 [inline]
tty_ldisc_release+0x23c/0x510 drivers/tty/tty_ldisc.c:776
tty_release_struct+0x27/0xd0 drivers/tty/tty_io.c:1694
tty_release+0xc06/0xe60 drivers/tty/tty_io.c:1865
__fput+0x3b9/0x820 fs/file_table.c:317
task_work_run+0x146/0x1c0 kernel/task_work.c:177
get_signal+0x15d9/0x1780 kernel/signal.c:2634
arch_do_signal_or_restart+0x8d/0x750 arch/x86/kernel/signal.c:869
exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:166
exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5d6ca89209
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:00007f5d6b9dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f5d6cb9c100 RCX: 00007f5d6ca89209
RDX: 0000000020000000 RSI: 0000000000005412 RDI: 0000000000000003
RBP: 00007f5d6cae3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd57f1c20f R14: 00007f5d6b9dd300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__wake_up_locked+0xa7/0x1a0 kernel/sched/wait.c:165
Code: 00 fc ff df 4c 8b 73 40 66 2e 0f 1f 84 00 00 00 00 00 90 4d 39 f4 0f 84 b3 00 00 00 4c 89 f3 49 8d 6e e8 4c 89 f0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 6b 29 75 00 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc9000582f848 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8880757064c8
RBP: ffffffffffffffe8 R08: dffffc0000000000 R09: fffff52000b05eec
R10: fffff52000b05eed R11: 1ffff92000b05eec R12: ffff888075706508
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000001
FS: 00007f5d6b9dd700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2ad74da68a CR3: 000000002a2a3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 3 bytes skipped:
0: df 4c 8b 73 fisttps 0x73(%rbx,%rcx,4)
4: 40 rex
5: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
c: 00 00 00
f: 90 nop
10: 4d 39 f4 cmp %r14,%r12
13: 0f 84 b3 00 00 00 je 0xcc
19: 4c 89 f3 mov %r14,%rbx
1c: 49 8d 6e e8 lea -0x18(%r14),%rbp
20: 4c 89 f0 mov %r14,%rax
23: 48 c1 e8 03 shr $0x3,%rax
* 27: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction
2b: 74 12 je 0x3f
2d: 48 89 df mov %rbx,%rdi
30: e8 6b 29 75 00 callq 0x7529a0
35: 48 rex.W
36: ba 00 00 00 00 mov $0x0,%edx
3b: 00 fc add %bh,%ah