syzbot


KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker

Status: auto-obsoleted due to no activity on 2023/05/31 22:15
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+dcad781df3a80a14e325@syzkaller.appspotmail.com
First crash: 958d, last: 574d

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

write to 0xffff88812b9b2604 of 4 bytes by task 7091 on cpu 1:
 io_wq_worker_running+0x64/0xa0 io_uring/io-wq.c:685
 schedule_timeout+0xcc/0x230 kernel/time/timer.c:2167
 io_wqe_worker+0x4bd/0x8a0 io_uring/io-wq.c:650
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff88812b9b2604 of 4 bytes by task 7055 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:933
 io_wq_enqueue+0x35/0x40 io_uring/io-wq.c:966
 io_queue_iowq+0x1d1/0x310 io_uring/io_uring.c:475
 io_req_task_submit+0xf4/0x130 io_uring/io_uring.c:1423
 handle_tw_list io_uring/io_uring.c:1184 [inline]
 tctx_task_work+0x1fe/0x4d0 io_uring/io_uring.c:1246
 task_work_run+0x123/0x160 kernel/task_work.c:179
 get_signal+0xe64/0xff0 kernel/signal.c:2650
 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:306
 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000005 -> 0x00000003

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7055 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-05127-g5c7ecada25d2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (599):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/26 22:15 upstream 5c7ecada25d2 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/26 10:20 upstream 0cfd8703e7da 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/25 13:56 upstream 173ea743bf7a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/25 00:36 upstream 1a0beef98b58 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/24 19:54 upstream 1a0beef98b58 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/24 12:01 upstream 457391b03803 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/23 21:16 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/23 07:45 upstream 622322f53c6d 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/22 17:54 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/22 00:37 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/21 11:04 upstream 2af3e53a4dc0 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/20 23:21 upstream 6a66fdd29ea1 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/20 09:44 upstream cb0856346a60 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/20 08:11 upstream cb0856346a60 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/19 18:26 upstream 789b4a41c247 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/19 15:41 upstream 789b4a41c247 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/19 06:08 upstream af67688dca57 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/18 19:03 upstream af67688dca57 d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/17 21:06 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/17 08:04 upstream 6a8f57ae2eb0 c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/17 00:53 upstream 6a8f57ae2eb0 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/16 11:32 upstream 3e7bb4f24617 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/15 21:49 upstream a7a55e27ad72 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/15 08:01 upstream 7a934f4bd7d6 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/14 18:31 upstream 95abc817ab3a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/14 13:09 upstream 44149752e998 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/14 02:20 upstream 44149752e998 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/13 09:26 upstream de4664485abb 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/12 20:11 upstream 0bcc40255504 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/12 17:43 upstream 0bcc40255504 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/12 07:52 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/11 21:13 upstream e62252bc55b6 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/11 15:45 upstream 0d3eb744aed4 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/10 23:25 upstream 0d3eb744aed4 71147e29 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/09 00:26 upstream a79d5c76f705 71147e29 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/07 22:08 upstream aa318c48808c 71147e29 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/07 09:02 upstream f2afccfefe7b f7ba566d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/06 20:54 upstream f2afccfefe7b 00ce4c67 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/06 19:53 upstream f2afccfefe7b 08707520 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/06 09:09 upstream 99ddf2254feb 08707520 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/05 19:15 upstream 99ddf2254feb 8b834965 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/05 14:22 upstream 76f598ba7d8e 8b834965 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/04 22:38 upstream 76f598ba7d8e 831373d3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/04 12:30 upstream 148341f0a2f5 928dd177 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/03 20:31 upstream 148341f0a2f5 41147e3e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/03 06:41 upstream 7e364e56293b 41147e3e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/02 21:30 upstream 6ab608fe852b f325deb0 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/02 02:13 upstream 00c7b5f4ddc5 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/04/01 11:35 upstream 7b50567bdcad f325deb0 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2023/03/31 21:59 upstream 5a57b48fdfcb f325deb0 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2022/05/03 18:33 upstream ef8e4d3c2ab1 dc9e5259 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2022/05/03 16:58 upstream 9050ba3a61a4 dc9e5259 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
2022/04/07 22:34 upstream 42e7a03d3bad c6ff3e05 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_wq_worker_running / io_wqe_activate_free_worker
* Struck through repros no longer work on HEAD.