syzbot


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

Status: auto-closed as invalid on 2020/06/28 09:21
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+28071e627252004acc02@syzkaller.appspotmail.com
First crash: 1838d, last: 1838d
Discussions (1)
Title Replies (including bot) Last reply
INFO: trying to register non-static key in hci_uart_send_frame (2) 0 (1) 2020/03/02 20:23
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 1937d 1937d 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 985d 985d 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 2155d 2204d 0/28 auto-closed as invalid on 2019/10/15 09:18
upstream INFO: trying to register non-static key in hci_uart_send_frame (3) bluetooth 24 866d 1227d 0/28 closed as dup on 2022/08/29 15:41

Sample crash report:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 3061 Comm: kworker/u5:0 Not tainted 5.6.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci1 hci_cmd_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 assign_lock_key kernel/locking/lockdep.c:880 [inline]
 register_lock_class+0x179e/0x1850 kernel/locking/lockdep.c:1189
 __lock_acquire+0xf4/0x4a00 kernel/locking/lockdep.c:3836
 lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4484
 percpu_down_read include/linux/percpu-rwsem.h:40 [inline]
 hci_uart_send_frame+0x85/0x620 drivers/bluetooth/hci_ldisc.c:280
 hci_send_frame+0x1bd/0x2d0 net/bluetooth/hci_core.c:3677
 hci_cmd_work+0x162/0x2d0 net/bluetooth/hci_core.c:4598
 process_one_work+0xa05/0x17a0 kernel/workqueue.c:2264
 worker_thread+0x98/0xe40 kernel/workqueue.c:2410
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/29 09:20 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.