syzbot


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

Status: closed as dup on 2022/08/29 15:41
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+944c82cd12dd1db5b05f@syzkaller.appspotmail.com
First crash: 904d, last: 539d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: trying to register non-static key in hci_uart_flush (2) bluetooth syz error error 37 548d 1690d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] INFO: trying to register non-static key in hci_uart_send_frame (3) 0 (1) 2021/11/01 05:00
Similar bugs (4)
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 1610d 1610d 0/1 auto-closed as invalid on 2020/03/21 04:06
linux-4.19 INFO: trying to register non-static key in hci_uart_send_frame (2) 1 657d 657d 0/1 auto-obsoleted due to no activity on 2022/10/29 20:15
upstream INFO: trying to register non-static key in hci_uart_send_frame bluetooth 2 1828d 1877d 0/26 auto-closed as invalid on 2019/10/15 09:18
upstream INFO: trying to register non-static key in hci_uart_send_frame (2) bluetooth 1 1511d 1508d 0/26 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: 0 PID: 5722 Comm: kworker/u5:8 Not tainted 6.0.0-rc6-syzkaller-00309-g1a61b828566f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: hci6 hci_cmd_work
Call Trace:
 <TASK>
 __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/0x9b0 kernel/locking/lockdep.c:1292
 __lock_acquire+0xe4/0x1f60 kernel/locking/lockdep.c:4932
 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666
 percpu_down_read+0x44/0x190 include/linux/percpu-rwsem.h:51
 hci_uart_send_frame+0x55/0x480 drivers/bluetooth/hci_ldisc.c:279
 hci_send_frame+0x1eb/0x330 net/bluetooth/hci_core.c:2961
 hci_cmd_work+0x1b6/0x3c0 net/bluetooth/hci_core.c:4055
 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/25 10:19 upstream 1a61b828566f 0042f2b4 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root INFO: trying to register non-static key in hci_uart_send_frame
2022/09/07 04:27 upstream d2ec799d1c1b 5fc30c37 .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/08/31 17:47 upstream dcf8e5633e2e 51e54e30 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in hci_uart_send_frame
2022/08/11 18:55 upstream 200e340f2196 787ed7e0 .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/08/11 07:05 upstream 200e340f2196 a6201f11 .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/07/31 15:01 upstream 6a010258447d fef302b1 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in hci_uart_send_frame
2022/07/09 18:51 upstream e5524c2a1fc4 b5765a15 .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/04/24 20:26 upstream 22da5264abf4 131df97d .config console log report info ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in hci_uart_send_frame
2022/04/15 04:16 upstream b9b4c79e5830 b17b2923 .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/04/15 03:30 upstream b9b4c79e5830 b17b2923 .config console log report info ci-upstream-kasan-gce-smack-root INFO: trying to register non-static key in hci_uart_send_frame
2022/04/12 03:00 upstream ce522ba9ef7e af01ee7d .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/04/08 09:16 upstream 42e7a03d3bad c6ff3e05 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in hci_uart_send_frame
2022/02/12 16:51 upstream 83e396641110 8b9ca619 .config console log report info ci-upstream-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2021/10/28 04:58 upstream 1fc596a56b33 be531bb4 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in hci_uart_send_frame
2022/08/16 04:20 linux-next 6c8f479764eb 8dfcaa3d .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/08/08 20:52 linux-next ca688bff68bc 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/03/26 14:00 linux-next fd4fbb998102 89bc8608 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/03/12 23:40 linux-next 91265a6da44d 9e8eaa75 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/03/05 05:22 linux-next 91265a6da44d 45a13a73 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/02/20 09:29 linux-next ef6b35306dd8 3cd800e4 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2021/12/03 09:44 linux-next f81e94e91878 61f86278 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in hci_uart_send_frame
2022/10/28 08:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 86777b7f .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 INFO: trying to register non-static key in hci_uart_send_frame
2022/10/26 22:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2159e4d2 .config console log report info ci-upstream-gce-arm64 INFO: trying to register non-static key in hci_uart_send_frame
2022/09/01 12:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a41a877bc12d b01ec571 .config console log report info ci-upstream-gce-arm64 INFO: trying to register non-static key in hci_uart_send_frame
* Struck through repros no longer work on HEAD.