syzbot


INFO: trying to register non-static key in hci_uart_send_frame (3)
Status: upstream: reported on 2021/11/01 05:00
Reported-by: syzbot+944c82cd12dd1db5b05f@syzkaller.appspotmail.com
First crash: 208d, last: 30d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: trying to register non-static key in hci_uart_send_frame 1 914d 914d 0/1 auto-closed as invalid on 2020/03/21 04:06
upstream INFO: trying to register non-static key in hci_uart_send_frame 2 1132d 1181d 0/22 auto-closed as invalid on 2019/10/15 09:18
upstream INFO: trying to register non-static key in hci_uart_send_frame (2) 1 815d 813d 0/22 auto-closed as invalid on 2020/06/28 09:21

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: 1 PID: 47 Comm: kworker/u5:0 Not tainted 5.18.0-rc3-syzkaller-00235-g22da5264abf4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci6 hci_cmd_work
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:949 [inline]
 register_lock_class+0xf04/0x11b0 kernel/locking/lockdep.c:1262
 __lock_acquire+0x10a/0x56c0 kernel/locking/lockdep.c:4908
 lock_acquire kernel/locking/lockdep.c:5641 [inline]
 lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606
 percpu_down_read include/linux/percpu-rwsem.h:51 [inline]
 hci_uart_send_frame+0x8c/0x6b0 drivers/bluetooth/hci_ldisc.c:279
 hci_send_frame+0x225/0x410 net/bluetooth/hci_core.c:2943
 hci_cmd_work+0x207/0x3c0 net/bluetooth/hci_core.c:3862
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </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/04/24 20:26 upstream 22da5264abf4 131df97d .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-kasan-gce-root 2022/04/15 04:16 upstream b9b4c79e5830 b17b2923 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-kasan-gce-smack-root 2022/04/15 03:30 upstream b9b4c79e5830 b17b2923 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-kasan-gce-root 2022/04/12 03:00 upstream ce522ba9ef7e af01ee7d .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-kasan-gce-selinux-root 2022/04/08 09:16 upstream 42e7a03d3bad c6ff3e05 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-kasan-gce-root 2022/02/12 16:51 upstream 83e396641110 8b9ca619 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-kasan-gce-selinux-root 2021/10/28 04:58 upstream 1fc596a56b33 be531bb4 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-linux-next-kasan-gce-root 2022/03/26 14:00 linux-next fd4fbb998102 89bc8608 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-linux-next-kasan-gce-root 2022/03/12 23:40 linux-next 91265a6da44d 9e8eaa75 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-linux-next-kasan-gce-root 2022/03/05 05:22 linux-next 91265a6da44d 45a13a73 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-linux-next-kasan-gce-root 2022/02/20 09:29 linux-next ef6b35306dd8 3cd800e4 .config log report info INFO: trying to register non-static key in hci_uart_send_frame
ci-upstream-linux-next-kasan-gce-root 2021/12/03 09:44 linux-next f81e94e91878 61f86278 .config log report info INFO: trying to register non-static key in hci_uart_send_frame