syzbot


KCSAN: data-race in __hci_req_sync / hci_req_status_pend

Status: auto-closed as invalid on 2020/10/23 11:36
Subsystems: bluetooth
[Documentation on labels]
First crash: 1806d, last: 1806d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __hci_req_sync / hci_req_status_pend (2) bluetooth 6 1 1670d 1670d 0/29 auto-closed as invalid on 2021/03/08 18:20

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __hci_req_sync / hci_req_status_pend

write to 0xffff88807e758a70 of 4 bytes by task 2338 on cpu 0:
 __hci_req_sync+0x254/0x420 net/bluetooth/hci_request.c:214
 hci_req_sync net/bluetooth/hci_request.c:279 [inline]
 scan_update_work+0x6b/0x80 net/bluetooth/hci_request.c:2441
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff88807e758a70 of 4 bytes by task 8726 on cpu 1:
 hci_req_status_pend+0x15/0x30 net/bluetooth/hci_request.c:51
 hci_cmd_work+0x94/0x180 net/bluetooth/hci_core.c:4927
 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x20d/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8726 Comm: kworker/u5:2 Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci5 hci_cmd_work
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/18 11:35 upstream 10b82d517648 38962c8b .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.