syzbot


KCSAN: data-race in io_wq_activate_free_worker / io_wq_worker

Status: auto-obsoleted due to no activity on 2024/06/11 01:34
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+5ddf081d8c58435988bc@syzkaller.appspotmail.com
First crash: 50d, last: 39d

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

write to 0xffff88811ce1cf04 of 4 bytes by task 29216 on cpu 0:
 io_wq_worker+0x81/0x730 io_uring/io-wq.c:634
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

read to 0xffff88811ce1cf04 of 4 bytes by task 29202 on cpu 1:
 io_wq_get_acct io_uring/io-wq.c:168 [inline]
 io_wq_activate_free_worker+0xfa/0x250 io_uring/io-wq.c:285
 io_wq_enqueue+0x25e/0x440 io_uring/io-wq.c:947
 io_queue_iowq+0x1d6/0x320 io_uring/io_uring.c:523
 io_queue_sqe_fallback+0x87/0xe0 io_uring/io_uring.c:2143
 io_submit_sqe io_uring/io_uring.c:2372 [inline]
 io_submit_sqes+0xc4b/0x10a0 io_uring/io_uring.c:2492
 __do_sys_io_uring_enter io_uring/io_uring.c:3668 [inline]
 __se_sys_io_uring_enter+0x1d1/0x17f0 io_uring/io_uring.c:3603
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3603
 x64_sys_call+0x263/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:427
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0000000c -> 0x0000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 29202 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-01049-g8815da98e06a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
==================================================================

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/14 01:34 upstream 8815da98e06a fdb4c10c .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
2024/05/13 19:23 upstream 8815da98e06a 9026e142 .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
2024/05/13 09:45 upstream a38297e3fb01 9026e142 .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
2024/05/12 19:02 upstream ba16c1cf11c9 9026e142 .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
2024/05/11 08:01 upstream cf87f46fd34d 9026e142 .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
2024/05/11 01:20 upstream f4345f05c0df f7c35481 .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
2024/05/10 04:37 upstream 448b3fe5a0ea de979bc2 .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
2024/05/09 09:20 upstream 45db3ab70092 05079661 .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
2024/05/09 00:00 upstream 6d7ddd805123 20bf80e1 .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
2024/05/08 05:50 upstream dccb07f2914c 4cf3f9b3 .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
2024/05/07 14:51 upstream dccb07f2914c cb2dcc0e .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
2024/05/07 04:23 upstream dccb07f2914c fa7a5cf0 .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
2024/05/06 11:00 upstream dd5a440a31fa d884b519 .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
2024/05/06 09:32 upstream dd5a440a31fa 610f2a54 .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
2024/05/05 19:40 upstream b9158815de52 610f2a54 .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
2024/05/02 21:30 upstream 49a73b1652c5 ddfc15a1 .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
* Struck through repros no longer work on HEAD.