syzbot


KCSAN: data-race in io_wqe_enqueue / io_wqe_worker

Status: auto-closed as invalid on 2022/05/11 09:23
Reported-by: syzbot+a2c06908d6d1cad484f5@syzkaller.appspotmail.com
First crash: 449d, last: 238d

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

write to 0xffff888107357c04 of 4 bytes by task 6500 on cpu 1:
 io_wqe_worker+0x7c/0x540 fs/io-wq.c:632
 ret_from_fork+0x1f/0x30

read to 0xffff888107357c04 of 4 bytes by task 6496 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_req_task_submit+0x8b/0xb0 fs/io_uring.c:2622
 handle_tw_list fs/io_uring.c:2509 [inline]
 tctx_task_work+0x7d3/0xab0 fs/io_uring.c:2543
 task_work_run+0x8e/0x110 kernel/task_work.c:164
 get_signal+0x1451/0x15a0 kernel/signal.c:2641
 arch_do_signal_or_restart+0x87/0x2e0 arch/x86/kernel/signal.c:867
 exit_to_user_mode_loop kernel/entry/common.c:166 [inline]
 exit_to_user_mode_prepare+0xc1/0x140 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:294
 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000c -> 0x0000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6496 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 (212):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/04/06 09:22 upstream 3e732ebf7316 86b4b7f8 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/04/02 07:29 upstream d0d642a5d365 79a2a8fc .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/31 02:58 upstream 74164d284b29 9d49f3a7 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/30 13:49 upstream d888c83fcec7 42718dd6 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/28 22:56 upstream ae085d7f9365 6bdac766 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/27 09:37 upstream bddac7c1e02b 89bc8608 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/26 06:07 upstream 52d543b5497c 89bc8608 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/26 02:25 upstream 34af78c4e616 89bc8608 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/25 05:04 upstream 52deda9551a0 89bc8608 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/24 20:21 upstream ed4643521e6a 89bc8608 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/24 00:16 upstream 6b1f86f8e9c7 5ff41e94 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/23 02:58 upstream 3bf03b9a0839 5ff41e94 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/22 13:14 upstream b47d5a4f6b8d d88ef0c5 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/20 19:38 upstream 14702b3b2438 e2d91b1d .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/19 20:30 upstream 97e9c8eb4bb1 e2d91b1d .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/17 23:04 upstream 56e337f2cf13 dfa9a8ed .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/14 13:07 upstream 09688c0166e7 9e8eaa75 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/13 13:04 upstream aad611a868d1 9e8eaa75 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/10 13:11 upstream 3bf7edc84a9e 9e8eaa75 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/09 14:57 upstream 330f4c53d3c2 9e8eaa75 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/07 17:21 upstream ffb217a13a2e 7bdd8b2c .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/05 17:07 upstream ac84e82f78cb 45a13a73 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/03 21:21 upstream 5859a2b19911 45a13a73 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/03/02 18:50 upstream fb184c4af9b9 45a13a73 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/27 10:15 upstream 2293be58d6a1 45a13a73 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/25 04:47 upstream 53ab78cd6d5a 7c337266 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/24 15:42 upstream 23d04328444a b28851a4 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/24 00:41 upstream 23d04328444a 6e821dbf .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/23 10:08 upstream 5c1ee569660d 6e821dbf .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/23 04:03 upstream 917bbdb107f8 6e821dbf .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/21 22:01 upstream 038101e6b2cd 6e821dbf .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/20 19:46 upstream 7f25f0412c9e 3cd800e4 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/19 18:01 upstream 4f12b742eb2b 3cd800e4 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/16 23:06 upstream 359303076163 50221962 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/16 03:05 upstream 705d84a366cf 8b9ca619 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/15 05:18 upstream d567f5db412e 8b9ca619 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/14 09:03 upstream 754e0b0e3560 8b9ca619 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/14 02:35 upstream 42964a18f81c 8b9ca619 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/13 07:29 upstream b81b1829e7e3 8b9ca619 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/11 22:54 upstream 1d41d2e82623 8b9ca619 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/11 09:07 upstream f1baf68e1383 0b33604d .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/10 13:31 upstream f4bc5bbb5fef 0b33604d .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2022/02/09 03:19 upstream e6251ab4551f 0b33604d .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2021/10/18 16:56 upstream 519d81956ee2 24dc29db .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2021/10/18 09:47 upstream cf52ad5ff16c 0c5d9412 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
ci2-upstream-kcsan-gce 2021/09/07 09:08 upstream 4b93c544e90e 6ca60148 .config log report info KCSAN: data-race in io_wqe_enqueue / io_wqe_worker
* Struck through repros no longer work on HEAD.