syzbot


KCSAN: data-race in __device_suspend_noirq / __device_suspend_noirq

Status: auto-closed as invalid on 2021/07/01 13:09
Subsystems: pm
[Documentation on labels]
First crash: 1078d, last: 1078d

Sample crash report:
sd 0:0:1:0: [sda] Synchronizing SCSI cache
==================================================================
BUG: KCSAN: data-race in __device_suspend_noirq / __device_suspend_noirq

write to 0xffff888100c50520 of 1 bytes by task 26 on cpu 0:
 dpm_superior_set_must_resume drivers/base/power/main.c:1173 [inline]
 __device_suspend_noirq+0xa95/0xcd0 drivers/base/power/main.c:1255
 async_suspend_noirq+0x2b/0x1c0 drivers/base/power/main.c:1268
 async_run_entry_fn+0x4a/0x170 kernel/async.c:127
 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276
 worker_thread+0x636/0xae0 kernel/workqueue.c:2422
 kthread+0x1d0/0x1f0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff888100c50520 of 1 bytes by task 23 on cpu 1:
 dpm_superior_set_must_resume drivers/base/power/main.c:1173 [inline]
 __device_suspend_noirq+0xa82/0xcd0 drivers/base/power/main.c:1255
 async_suspend_noirq+0x2b/0x1c0 drivers/base/power/main.c:1268
 async_run_entry_fn+0x4a/0x170 kernel/async.c:127
 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276
 worker_thread+0x636/0xae0 kernel/workqueue.c:2422
 kthread+0x1d0/0x1f0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound async_run_entry_fn
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/27 13:07 upstream d7c5303fbc8a 858ea628 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __device_suspend_noirq / __device_suspend_noirq
* Struck through repros no longer work on HEAD.