================================================================== BUG: KCSAN: data-race in __io_fill_cqe_req / io_wake_function write to 0xffff888138cd2a00 of 4 bytes by task 17633 on cpu 1: io_get_cqe fs/io_uring.c:1820 [inline] __io_fill_cqe fs/io_uring.c:2030 [inline] __io_fill_cqe_req+0x129/0x3a0 fs/io_uring.c:2043 __io_req_complete_post+0x65/0x580 fs/io_uring.c:2066 io_req_complete_post fs/io_uring.c:2100 [inline] __io_req_complete fs/io_uring.c:2120 [inline] __io_complete_rw fs/io_uring.c:2998 [inline] kiocb_done+0x2ec/0x640 fs/io_uring.c:3223 io_read fs/io_uring.c:3934 [inline] io_issue_sqe+0x657d/0x8790 fs/io_uring.c:7146 io_wq_submit_work+0x249/0x2d0 fs/io_uring.c:7321 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 0xffff888138cd2a00 of 4 bytes by task 17608 on cpu 0: io_should_wake fs/io_uring.c:8085 [inline] io_wake_function+0x36/0x100 fs/io_uring.c:8105 __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:1859 [inline] io_cqring_ev_posted fs/io_uring.c:1875 [inline] io_req_complete_post fs/io_uring.c:2103 [inline] __io_req_complete fs/io_uring.c:2120 [inline] __io_complete_rw fs/io_uring.c:2998 [inline] kiocb_done+0x394/0x640 fs/io_uring.c:3223 io_read fs/io_uring.c:3934 [inline] io_issue_sqe+0x657d/0x8790 fs/io_uring.c:7146 io_wq_submit_work+0x249/0x2d0 fs/io_uring.c:7321 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: 0x00001301 -> 0x00001302 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17608 Comm: iou-wrk-17600 Not tainted 5.18.0-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================