syzbot


KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue

Status: auto-closed as invalid on 2022/05/11 15:28
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 249d, last: 236d

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

write to 0xffff88812734df04 of 4 bytes by task 6496 on cpu 1:
 io_wq_worker_running+0x60/0xa0 fs/io-wq.c:691
 schedule_timeout+0xc1/0x290 kernel/time/timer.c:1881
 io_wqe_worker+0x37d/0x540 fs/io-wq.c:659
 ret_from_fork+0x1f/0x30

read to 0xffff88812734df04 of 4 bytes by task 6490 on cpu 0:
 io_wqe_get_acct fs/io-wq.c:173 [inline]
 io_wqe_activate_free_worker fs/io-wq.c:272 [inline]
 io_wqe_enqueue+0x3f1/0x790 fs/io-wq.c:940
 io_wq_enqueue+0x31/0x40 fs/io-wq.c:973
 io_queue_async_work+0x228/0x470 fs/io_uring.c:1751
 io_queue_sqe_arm_apoll fs/io_uring.c:7589 [inline]
 __io_queue_sqe+0x317/0x460 fs/io_uring.c:7620
 io_queue_sqe fs/io_uring.c:7647 [inline]
 io_submit_sqe+0x7d2/0x4a63 fs/io_uring.c:7855
 io_submit_sqes+0x278/0x6c0 fs/io_uring.c:7961
 __do_sys_io_uring_enter fs/io_uring.c:11011 [inline]
 __se_sys_io_uring_enter+0x2a2/0xbe0 fs/io_uring.c:10937
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:10937
 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+0x44/0xae

value changed: 0x0000000d -> 0x0000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6490 Comm: syz-executor.4 Not tainted 5.18.0-rc1-syzkaller-00016-g3e732ebf7316-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (25):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/04/06 15:25 upstream 3e732ebf7316 97582466 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/06 09:54 upstream 3e732ebf7316 86b4b7f8 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/05 19:55 upstream ce4c854ee868 0127c10f .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/04 15:38 upstream 312310928417 5915c2cb .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/04 04:04 upstream 09bb8856d4a7 79a2a8fc .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/03 01:58 upstream be2d3ecedd99 79a2a8fc .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/02 08:37 upstream 88e6c0207623 79a2a8fc .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/01 19:08 upstream d0d642a5d365 79a2a8fc .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/01 15:41 upstream e8b767f5e040 79a2a8fc .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/04/01 03:54 upstream e8b767f5e040 68fc921a .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/31 13:58 upstream 787af64d05cd c4c32d8c .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/31 01:38 upstream 74164d284b29 9d49f3a7 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/30 10:06 upstream d888c83fcec7 42718dd6 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/30 08:47 upstream d888c83fcec7 6bdac766 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/29 10:59 upstream 1930a6e739c4 6bdac766 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/28 23:06 upstream ae085d7f9365 6bdac766 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/28 00:33 upstream f82da161ea75 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/27 10:16 upstream f022814633e1 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/26 21:52 upstream bddac7c1e02b 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/26 06:04 upstream 52d543b5497c 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/25 14:19 upstream 34af78c4e616 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/25 14:16 upstream 34af78c4e616 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/24 23:36 upstream 52deda9551a0 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/24 12:46 upstream ed4643521e6a 89bc8608 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
ci2-upstream-kcsan-gce 2022/03/23 23:08 upstream 6b1f86f8e9c7 5ff41e94 .config log report info KCSAN: data-race in io_wq_worker_running / io_wqe_enqueue
* Struck through repros no longer work on HEAD.