syzbot


KCSAN: data-race in io_worker_handle_work / io_wq_worker_cancel (2)

Status: auto-obsoleted due to no activity on 2023/05/07 12:48
Subsystems: io-uring
[Documentation on labels]
First crash: 397d, last: 397d
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_wq_worker_cancel io-uring 1 545d 545d 0/26 auto-obsoleted due to no activity on 2022/12/11 07:07

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

read-write to 0xffff888145c605d0 of 4 bytes by task 22714 on cpu 1:
 __io_wq_worker_cancel io_uring/io-wq.c:986 [inline]
 io_wq_worker_cancel+0x68/0x1e0 io_uring/io-wq.c:1003
 io_wq_for_each_worker+0x10c/0x1f0 io_uring/io-wq.c:855
 io_wqe_cancel_running_work io_uring/io-wq.c:1074 [inline]
 io_wq_cancel_cb+0x167/0x2a0 io_uring/io-wq.c:1109
 io_uring_try_cancel_requests+0x106/0x400 io_uring/io_uring.c:3160
 io_uring_cancel_generic+0x2b9/0x550 io_uring/io_uring.c:3236
 io_sq_thread+0xa61/0xaf0 io_uring/sqpoll.c:303
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff888145c605d0 of 4 bytes by task 22721 on cpu 0:
 io_get_work_hash io_uring/io-wq.c:445 [inline]
 io_worker_handle_work+0x47a/0x9b0 io_uring/io-wq.c:581
 io_wqe_worker+0x267/0x890 io_uring/io-wq.c:632
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 22721 Comm: iou-wrk-22714 Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/02 12:43 upstream 00c7b5f4ddc5 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_worker_handle_work / io_wq_worker_cancel
* Struck through repros no longer work on HEAD.