================================================================== BUG: KCSAN: data-race in __io_fill_cqe_req / io_wake_function read-write to 0xffff88814d033a50 of 4 bytes by task 27626 on cpu 0: io_get_cqe fs/io_uring.c:2223 [inline] __io_fill_cqe fs/io_uring.c:2454 [inline] __io_fill_cqe_req+0x10e/0x270 fs/io_uring.c:2516 __io_req_complete_post fs/io_uring.c:2594 [inline] io_req_complete_post fs/io_uring.c:2611 [inline] __io_req_complete fs/io_uring.c:2643 [inline] __io_complete_rw fs/io_uring.c:3527 [inline] kiocb_done+0x625/0x740 fs/io_uring.c:3755 io_read fs/io_uring.c:4499 [inline] io_issue_sqe+0x7988/0xa9b0 fs/io_uring.c:8408 io_wq_submit_work+0x41b/0x590 fs/io_uring.c:8597 io_worker_handle_work+0x517/0xc50 fs/io-wq.c:597 io_wqe_worker+0x1d1/0x940 fs/io-wq.c:644 ret_from_fork+0x1f/0x30 read to 0xffff88814d033a50 of 4 bytes by task 27625 on cpu 1: io_should_wake fs/io_uring.c:9364 [inline] io_wake_function+0x36/0x100 fs/io_uring.c:9384 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0x80/0xc0 kernel/sched/wait.c:156 io_cqring_wake fs/io_uring.c:2266 [inline] io_cqring_ev_posted fs/io_uring.c:2282 [inline] io_req_complete_post fs/io_uring.c:2614 [inline] __io_req_complete fs/io_uring.c:2643 [inline] __io_complete_rw fs/io_uring.c:3527 [inline] kiocb_done+0x710/0x740 fs/io_uring.c:3755 io_read fs/io_uring.c:4499 [inline] io_issue_sqe+0x7988/0xa9b0 fs/io_uring.c:8408 io_wq_submit_work+0x41b/0x590 fs/io_uring.c:8597 io_worker_handle_work+0x517/0xc50 fs/io-wq.c:597 io_wqe_worker+0x1d1/0x940 fs/io-wq.c:644 ret_from_fork+0x1f/0x30 value changed: 0x00000011 -> 0x00000012 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 27625 Comm: iou-wrk-27623 Tainted: G W 5.19.0-rc2-syzkaller-00050-g018ab4fabddd-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================