================================================================== BUG: KCSAN: data-race in __io_cqring_fill_event / io_req_defer write to 0xffff888138f29e00 of 4 bytes by task 10207 on cpu 1: io_get_cqring fs/io_uring.c:1713 [inline] __io_cqring_fill_event+0x13b/0x440 fs/io_uring.c:1853 io_cqring_add_event fs/io_uring.c:1892 [inline] __io_req_complete+0xd8/0x1b0 fs/io_uring.c:1936 io_issue_sqe+0x3541/0x4220 fs/io_uring.c:1214 io_wq_submit_work+0x25c/0x4a0 fs/io_uring.c:6397 io_worker_handle_work+0xcc1/0x1010 fs/io-wq.c:565 io_wqe_worker+0x221/0x880 fs/io-wq.c:607 kthread+0x20b/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffff888138f29e00 of 4 bytes by task 10204 on cpu 0: req_need_defer fs/io_uring.c:1350 [inline] io_req_defer+0x519/0x6e0 fs/io_uring.c:6140 io_queue_sqe+0x24/0x420 fs/io_uring.c:6614 io_submit_sqe+0x33e/0x620 fs/io_uring.c:6708 io_submit_sqes+0xa8c/0x12a0 fs/io_uring.c:6956 __do_sys_io_uring_enter fs/io_uring.c:9364 [inline] __se_sys_io_uring_enter+0x21f/0xb70 fs/io_uring.c:9307 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9307 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10204 Comm: syz-executor.2 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================