syzbot


KCSAN: data-race in create_io_worker / io_wqe_wake_worker (4)

Status: auto-closed as invalid on 2021/03/19 11:24
Subsystems: fs
[Documentation on labels]
First crash: 1162d, last: 1162d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in create_io_worker / io_wqe_wake_worker (2) fs 1 1242d 1229d 0/26 auto-closed as invalid on 2020/12/29 17:31
upstream KCSAN: data-race in create_io_worker / io_wqe_wake_worker fs 2 1287d 1297d 0/26 auto-closed as invalid on 2020/11/14 12:51
upstream KCSAN: data-race in create_io_worker / io_wqe_wake_worker (3) fs 2 1200d 1206d 0/26 auto-closed as invalid on 2021/02/09 23:53

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

write to 0xffff888034737c44 of 4 bytes by task 22077 on cpu 1:
 create_io_worker+0x2cb/0x3a0 fs/io-wq.c:706
 io_wq_manager+0x376/0x7b0 fs/io-wq.c:799
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read to 0xffff888034737c44 of 4 bytes by task 22076 on cpu 0:
 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:1582
 io_queue_async_work fs/io_uring.c:1592 [inline]
 __io_queue_sqe+0x5ee/0xa70 fs/io_uring.c:6584
 io_queue_sqe+0x1c0/0x420 fs/io_uring.c:6638
 io_submit_sqe+0x33e/0x620 fs/io_uring.c:6711
 io_submit_sqes+0xa8c/0x12a0 fs/io_uring.c:6959
 __do_sys_io_uring_enter fs/io_uring.c:9361 [inline]
 __se_sys_io_uring_enter+0x21f/0xb70 fs/io_uring.c:9304
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9304
 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: 0 PID: 22076 Comm: syz-executor.2 Not tainted 5.11.0-rc7-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
2021/02/12 11:16 upstream dcc0b49040c7 a5f86b15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in create_io_worker / io_wqe_wake_worker
* Struck through repros no longer work on HEAD.