syzbot


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

Status: auto-obsoleted due to no activity on 2023/04/06 05:19
Subsystems: io-uring
[Documentation on labels]
First crash: 434d, last: 434d
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 io-uring 1 528d 528d 0/26 auto-obsoleted due to no activity on 2023/01/02 10:55

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

write to 0xffff888129c31c04 of 4 bytes by task 23906 on cpu 1:
 __io_worker_busy io_uring/io-wq.c:420 [inline]
 io_worker_handle_work+0x394/0x9b0 io_uring/io-wq.c:560
 io_wqe_worker+0x209/0x880 io_uring/io-wq.c:632
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff888129c31c04 of 4 bytes by task 23886 on cpu 0:
 io_wqe_get_acct io_uring/io-wq.c:175 [inline]
 io_wqe_activate_free_worker+0xf4/0x270 io_uring/io-wq.c:274
 io_wqe_enqueue+0x268/0x470 io_uring/io-wq.c:927
 io_wq_enqueue+0x35/0x40 io_uring/io-wq.c:960
 io_queue_iowq+0x1d1/0x310 io_uring/io_uring.c:475
 io_queue_sqe_fallback+0x82/0xe0 io_uring/io_uring.c:2113
 io_submit_sqe io_uring/io_uring.c:2335 [inline]
 io_submit_sqes+0xbf8/0xfe0 io_uring/io_uring.c:2450
 __do_sys_io_uring_enter io_uring/io_uring.c:3458 [inline]
 __se_sys_io_uring_enter+0x1e5/0x1b70 io_uring/io_uring.c:3392
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3392
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000005 -> 0x00000003

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 23886 Comm: syz-executor.2 Tainted: G        W          6.2.0-syzkaller-06742-g307e14c03906-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/23 05:04 upstream 307e14c03906 9f1e2cb3 .config console log report info [disk image] [vmlinux] [kernel image] 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.