syzbot


KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running

Status: auto-obsoleted due to no activity on 2023/09/28 13:42
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+a36975231499dc24df44@syzkaller.appspotmail.com
First crash: 529d, last: 518d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [io-uring?] KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running 5 (6) 2023/09/14 13:39
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running (2) io-uring 5 264d 270d 0/28 auto-obsoleted due to no activity on 2024/06/13 23:45

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running

write to 0xffff888127f736c4 of 4 bytes by task 4731 on cpu 1:
 io_wq_worker_running+0x64/0xa0 io_uring/io-wq.c:668
 schedule_timeout+0xcc/0x230 kernel/time/timer.c:2167
 io_wq_worker+0x4b2/0x840 io_uring/io-wq.c:633
 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

read to 0xffff888127f736c4 of 4 bytes by task 4719 on cpu 0:
 io_wq_get_acct io_uring/io-wq.c:168 [inline]
 io_wq_activate_free_worker+0xfa/0x280 io_uring/io-wq.c:267
 io_wq_enqueue+0x262/0x450 io_uring/io-wq.c:914
 io_queue_iowq+0x1d1/0x310 io_uring/io_uring.c:514
 io_queue_sqe_fallback+0x82/0xe0 io_uring/io_uring.c:2084
 io_submit_sqe io_uring/io_uring.c:2305 [inline]
 io_submit_sqes+0xbd3/0xfb0 io_uring/io_uring.c:2420
 __do_sys_io_uring_enter io_uring/io_uring.c:3628 [inline]
 __se_sys_io_uring_enter+0x1f8/0x1c10 io_uring/io_uring.c:3562
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3562
 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: 0x0000000d -> 0x0000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4719 Comm: syz-executor.1 Not tainted 6.5.0-syzkaller-01810-gf97e18a3f2fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/29 18:47 upstream f97e18a3f2fb ce731e62 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/29 17:57 upstream 1c59d383390f ce731e62 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/28 21:24 upstream 727dbda16b83 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/28 10:12 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/28 10:11 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/28 01:29 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/27 12:02 upstream 28f20a19294d 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/26 21:13 upstream 3b35375f19fe 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/26 13:41 upstream 382d4cd18475 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/24 17:10 upstream 93f5de5f648d 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/23 10:03 upstream 89bf6209cad6 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/22 19:56 upstream 53663f4103ff b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/22 11:03 upstream f7757129e3de 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/21 14:15 upstream f7757129e3de d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/20 17:11 upstream 706a74159504 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/19 17:38 upstream aa9ea98cca3a d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
2023/08/19 04:20 upstream d4ddefee5160 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker_running
* Struck through repros no longer work on HEAD.