================================================================== BUG: KCSAN: data-race in __io_cqring_fill_event / io_req_defer write to 0xffff8880497c65c0 of 4 bytes by task 5678 on cpu 0: io_get_cqring fs/io_uring.c:1282 [inline] __io_cqring_fill_event+0x116/0x430 fs/io_uring.c:1386 io_cqring_add_event fs/io_uring.c:1420 [inline] __io_req_complete+0xdb/0x1b0 fs/io_uring.c:1458 io_req_complete fs/io_uring.c:1472 [inline] io_openat2+0xe5/0x2e0 fs/io_uring.c:3495 io_issue_sqe+0x19e9/0x7140 fs/io_uring.c:5690 io_wq_submit_work+0x23e/0x340 fs/io_uring.c:5775 io_worker_handle_work+0xa69/0xcf0 fs/io-wq.c:527 io_wqe_worker+0x1f2/0x860 fs/io-wq.c:569 kthread+0x20d/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffff8880497c65c0 of 4 bytes by task 5676 on cpu 1: req_need_defer fs/io_uring.c:1090 [inline] io_req_defer+0x438/0x5d0 fs/io_uring.c:5428 io_queue_sqe+0x21/0x2b0 fs/io_uring.c:6037 io_submit_sqe+0x333/0x560 fs/io_uring.c:6130 io_submit_sqes+0x8c6/0xfc0 fs/io_uring.c:6327 __do_sys_io_uring_enter fs/io_uring.c:8036 [inline] __se_sys_io_uring_enter+0x1c2/0x720 fs/io_uring.c:7995 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:7995 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: 1 PID: 5676 Comm: syz-executor.1 Not tainted 5.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================