syzbot


INFO: trying to register non-static key in hci_uart_tty_receive (3)

Status: closed as dup on 2022/08/29 15:45
Reported-by: syzbot+f2725165900304ec97b6@syzkaller.appspotmail.com
First crash: 349d, last: 8d11h
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: trying to register non-static key in hci_uart_flush (2) syz error error 36 1d17h 1126d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in hci_uart_tty_receive 1 1131d 1130d 0/24 auto-closed as invalid on 2019/10/28 14:58
linux-4.19 INFO: trying to register non-static key in hci_uart_tty_receive 1 1257d 1257d 0/1 auto-closed as invalid on 2019/10/22 04:49
upstream INFO: trying to register non-static key in hci_uart_tty_receive (2) 1 1041d 1037d 0/24 auto-closed as invalid on 2020/03/26 00:10
linux-4.19 INFO: trying to register non-static key in hci_uart_tty_receive (2) 1 24d 24d 0/1 upstream: reported on 2022/09/09 15:36

Sample crash report:
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: 23908 Comm: syz-executor.4 Not tainted 6.0.0-rc6-syzkaller-00309-g1a61b828566f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
 <TASK>
 __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:979 [inline]
 register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1292
 __lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4932
 lock_acquire kernel/locking/lockdep.c:5666 [inline]
 lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631
 percpu_down_read include/linux/percpu-rwsem.h:51 [inline]
 hci_uart_tty_receive+0xc2/0x710 drivers/bluetooth/hci_ldisc.c:606
 tiocsti drivers/tty/tty_io.c:2293 [inline]
 tty_ioctl+0xa75/0x15d0 drivers/tty/tty_io.c:2692
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4dfec8a669
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:00007f4dffd78168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4dfedac120 RCX: 00007f4dfec8a669
RDX: 0000000020000140 RSI: 0000000000005412 RDI: 0000000000000005
RBP: 00007f4dfece5560 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcfbc6853f R14: 00007f4dffd78300 R15: 0000000000022000
 </TASK>

Crashes (12):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/09/25 09:12 upstream 1a61b828566f 0042f2b4 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-root 2022/08/01 19:34 upstream 3d7cb6b04c3f fef302b1 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-smack-root 2022/07/26 03:20 upstream e0dccc3b76fb 34795c51 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-selinux-root 2022/04/29 05:36 upstream 259b897e5a79 e9076525 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-selinux-root 2022/02/12 17:53 upstream 83e396641110 8b9ca619 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-smack-root 2022/01/19 16:13 upstream e9f5cbc0c851 0620189b .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-smack-root 2021/10/26 01:01 upstream c2b43854aad9 c1132b49 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-kasan-gce-root 2021/10/18 23:53 upstream 519d81956ee2 24dc29db .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-linux-next-kasan-gce-root 2022/06/23 13:06 linux-next 08897940f458 912f5df7 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-linux-next-kasan-gce-root 2022/05/20 07:11 linux-next 3f7bdc402fb0 cb1ac2e7 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-linux-next-kasan-gce-root 2022/03/19 16:54 linux-next 91265a6da44d e2d91b1d .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
ci-upstream-linux-next-kasan-gce-root 2022/02/05 22:41 linux-next ef6b35306dd8 a7dab638 .config log report info INFO: trying to register non-static key in hci_uart_tty_receive
* Struck through repros no longer work on HEAD.