syzbot


KCSAN: data-race in io_worker_handle_work / io_wqe_wake_worker (3)

Status: auto-closed as invalid on 2021/03/26 15:29
Subsystems: fs
[Documentation on labels]
First crash: 1179d, last: 1161d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_worker_handle_work / io_wqe_wake_worker (2) fs 2 1238d 1235d 0/26 auto-closed as invalid on 2021/01/09 05:34
upstream KCSAN: data-race in io_worker_handle_work / io_wqe_wake_worker fs 3 1298d 1340d 0/26 auto-closed as invalid on 2020/11/09 14:03

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_worker_handle_work / io_wqe_wake_worker

write to 0xffff88802dacc444 of 4 bytes by task 13820 on cpu 0:
 __io_worker_busy fs/io-wq.c:366 [inline]
 io_worker_handle_work+0x4f0/0x1010 fs/io-wq.c:547
 io_wqe_worker+0x221/0x880 fs/io-wq.c:607
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read to 0xffff88802dacc444 of 4 bytes by task 13783 on cpu 1:
 io_wqe_wake_worker+0x163/0x220 fs/io-wq.c:307
 io_wqe_enqueue+0x2b7/0x360 fs/io-wq.c:906
 io_wq_enqueue+0x3a/0x40 fs/io-wq.c:913
 __io_queue_async_work+0x117/0x1f0 fs/io_uring.c:1584
 io_queue_async_work fs/io_uring.c:1594 [inline]
 __io_queue_sqe+0x5ee/0xa70 fs/io_uring.c:6586
 io_queue_sqe+0x1c0/0x420 fs/io_uring.c:6640
 io_submit_sqe+0x33e/0x620 fs/io_uring.c:6713
 io_submit_sqes+0xa8c/0x12a0 fs/io_uring.c:6961
 __do_sys_io_uring_enter fs/io_uring.c:9363 [inline]
 __se_sys_io_uring_enter+0x21f/0xb70 fs/io_uring.c:9306
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9306
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/19 15:22 upstream f40ddce88593 f689d40a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_worker_handle_work / io_wqe_wake_worker
2021/02/01 13:40 upstream 1048ba83fb1c e6b95f32 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_worker_handle_work / io_wqe_wake_worker
* Struck through repros no longer work on HEAD.