syzbot


KCSAN: data-race in io_worker_handle_work / io_wqe_activate_free_worker

Status: auto-obsoleted due to no activity on 2023/01/02 10:55
Subsystems: io-uring
[Documentation on labels]
First crash: 514d, last: 514d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_worker_handle_work / io_wqe_activate_free_worker (2) io-uring 1 420d 420d 0/26 auto-obsoleted due to no activity on 2023/04/06 05:19

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

write to 0xffff88814faabcc4 of 4 bytes by task 9511 on cpu 1:
 __io_worker_busy io_uring/io-wq.c:420 [inline]
 io_worker_handle_work+0x35b/0xc00 io_uring/io-wq.c:560
 io_wqe_worker+0x210/0x8f0 io_uring/io-wq.c:632
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

read to 0xffff88814faabcc4 of 4 bytes by task 9502 on cpu 0:
 io_wqe_get_acct io_uring/io-wq.c:175 [inline]
 io_wqe_activate_free_worker+0xf8/0x2b0 io_uring/io-wq.c:274
 io_wqe_enqueue+0x2f0/0x500 io_uring/io-wq.c:927
 io_wq_enqueue+0x31/0x40 io_uring/io-wq.c:960
 io_queue_iowq+0x1d2/0x2f0 io_uring/io_uring.c:472
 io_queue_async+0x323/0x350 io_uring/io_uring.c:1901
 io_queue_sqe io_uring/io_uring.c:1925 [inline]
 io_submit_sqe+0x700/0xa40 io_uring/io_uring.c:2174
 io_submit_sqes+0x274/0x530 io_uring/io_uring.c:2285
 __do_sys_io_uring_enter io_uring/io_uring.c:3220 [inline]
 __se_sys_io_uring_enter+0x1ef/0xc00 io_uring/io_uring.c:3152
 __x64_sys_io_uring_enter+0x74/0x80 io_uring/io_uring.c:3152
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000d -> 0x0000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9502 Comm: syz-executor.3 Not tainted 6.1.0-rc6-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/21 06:32 upstream eb7081409f94 5bb70014 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_worker_handle_work / io_wqe_activate_free_worker
* Struck through repros no longer work on HEAD.