syzbot


KCSAN: data-race in usb_disable_device / wdm_manage_power

Status: auto-closed as invalid on 2020/09/23 01:15
Subsystems: usb
[Documentation on labels]
First crash: 1347d, last: 1347d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in usb_disable_device / wdm_manage_power

write to 0xffff8880ac63b828 of 1 bytes by task 9535 on cpu 0:
 usb_disable_device+0xb8/0x7a0 drivers/usb/core/message.c:1233
 usb_disconnect+0x206/0x4a0 drivers/usb/core/hub.c:2217
 hub_port_connect drivers/usb/core/hub.c:5059 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5348 [inline]
 port_event drivers/usb/core/hub.c:5494 [inline]
 hub_event+0x13c9/0x2bd0 drivers/usb/core/hub.c:5576
 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 0xffff8880ac63b828 of 1 bytes by task 18248 on cpu 1:
 wdm_manage_power+0x2a/0x80 drivers/usb/class/cdc-wdm.c:903
 wdm_release+0x134/0x1f0 drivers/usb/class/cdc-wdm.c:701
 __fput+0x246/0x4d0 fs/file_table.c:281
 ____fput+0x11/0x20 fs/file_table.c:314
 task_work_run+0x8e/0x110 kernel/task_work.c:141
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:139 [inline]
 exit_to_user_mode_prepare+0x1b2/0x210 kernel/entry/common.c:166
 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:241
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 18248 Comm: syz-executor.1 Not tainted 5.9.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/19 01:07 upstream 18445bf405cb e1c29030 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.