================================================================== BUG: KCSAN: data-race in __io_cqring_fill_event / io_req_defer write to 0xffff88812d0fbc80 of 4 bytes by task 4934 on cpu 1: io_get_cqring fs/io_uring.c:1377 [inline] __io_cqring_fill_event+0xfd/0x350 fs/io_uring.c:1559 io_req_complete_post+0x58/0x540 fs/io_uring.c:1583 __io_req_complete fs/io_uring.c:1638 [inline] __io_complete_rw+0x3b5/0x470 fs/io_uring.c:2488 io_complete_rw+0x1b/0x20 fs/io_uring.c:2495 io_rw_done fs/io_uring.c:2729 [inline] kiocb_done+0x1b0/0x420 fs/io_uring.c:2753 io_read fs/io_uring.c:3334 [inline] io_issue_sqe+0x36c5/0x6750 fs/io_uring.c:6115 io_wq_submit_work+0x113/0x270 fs/io_uring.c:6252 io_worker_handle_work+0x8cb/0xaf0 fs/io-wq.c:496 io_wqe_worker+0x1c5/0x550 fs/io-wq.c:545 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffff88812d0fbc80 of 4 bytes by task 4930 on cpu 0: req_need_defer fs/io_uring.c:1206 [inline] io_req_defer+0x358/0x4a0 fs/io_uring.c:6002 io_queue_sqe fs/io_uring.c:6450 [inline] io_submit_sqe+0x157e/0x33a0 fs/io_uring.c:6625 io_submit_sqes+0x5bd/0xbd0 fs/io_uring.c:6733 __do_sys_io_uring_enter fs/io_uring.c:9318 [inline] __se_sys_io_uring_enter+0x1e1/0xa80 fs/io_uring.c:9260 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9260 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4930 Comm: syz-executor.4 Not tainted 5.13.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================