================================================================== BUG: KCSAN: data-race in io_wq_submit_work / io_wq_worker_cancel read-write to 0xffff88813bde13d0 of 4 bytes by task 4650 on cpu 1: __io_wq_worker_cancel io_uring/io-wq.c:980 [inline] io_wq_worker_cancel+0x67/0x1c0 io_uring/io-wq.c:997 io_wq_for_each_worker+0x119/0x220 io_uring/io-wq.c:849 io_wqe_cancel_running_work io_uring/io-wq.c:1068 [inline] io_wq_cancel_cb+0x184/0x2c0 io_uring/io-wq.c:1103 io_async_cancel_one io_uring/cancel.c:65 [inline] io_try_cancel+0x112/0x1e0 io_uring/cancel.c:89 __io_async_cancel+0x63/0x2b0 io_uring/cancel.c:140 io_async_cancel+0x170/0x220 io_uring/cancel.c:193 io_issue_sqe+0x386/0x900 io_uring/io_uring.c:1577 io_queue_sqe io_uring/io_uring.c:1754 [inline] io_req_task_submit+0x8b/0x100 io_uring/io_uring.c:1104 handle_tw_list+0x12a/0x180 io_uring/io_uring.c:984 tctx_task_work+0x72/0x360 io_uring/io_uring.c:1031 task_work_run+0x8e/0x110 kernel/task_work.c:177 get_signal+0xeca/0x1020 kernel/signal.c:2634 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:166 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813bde13d0 of 4 bytes by task 4659 on cpu 0: io_wq_submit_work+0x107/0x580 io_uring/io_uring.c:1633 io_worker_handle_work+0x547/0xbf0 io_uring/io-wq.c:587 io_wqe_worker+0x202/0x8f0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4659 Comm: iou-wrk-4650 Not tainted 6.0.0-rc4-syzkaller-00137-g506357871c18-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ==================================================================