================================================================== BUG: KCSAN: data-race in __io_req_complete_post / io_wake_function read-write to 0xffff88813d6aca10 of 4 bytes by task 29571 on cpu 1: io_get_cqe io_uring/io_uring.h:99 [inline] __io_fill_cqe_req io_uring/io_uring.h:119 [inline] __io_req_complete_post+0x9e/0xb50 io_uring/io_uring.c:806 io_req_complete_post io_uring/io_uring.c:815 [inline] io_issue_sqe+0x43c/0x900 io_uring/io_uring.c:1589 io_wq_submit_work+0x3de/0x580 io_uring/io_uring.c:1654 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 read to 0xffff88813d6aca10 of 4 bytes by task 29558 on cpu 0: io_should_wake io_uring/io_uring.c:2155 [inline] io_wake_function+0x36/0x100 io_uring/io_uring.c:2175 __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 io_uring/io_uring.h:206 [inline] io_cqring_ev_posted io_uring/io_uring.c:540 [inline] __io_cq_unlock_post io_uring/io_uring.c:548 [inline] io_cq_unlock_post io_uring/io_uring.c:553 [inline] io_req_complete_post io_uring/io_uring.c:816 [inline] io_issue_sqe+0x4e0/0x900 io_uring/io_uring.c:1589 io_wq_submit_work+0x3de/0x580 io_uring/io_uring.c:1654 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: 0x00002b27 -> 0x00002b28 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29558 Comm: iou-wrk-29499 Not tainted 6.0.0-rc5-syzkaller-00097-g38eddeedbbea-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ==================================================================