================================================================== BUG: KCSAN: data-race in __io_cqring_fill_event / io_drain_req write to 0xffff8881323afc00 of 4 bytes by task 11587 on cpu 0: io_get_cqe fs/io_uring.c:1581 [inline] __io_cqring_fill_event+0xfb/0x350 fs/io_uring.c:1769 io_req_complete_post+0x4d/0x640 fs/io_uring.c:1792 io_issue_sqe+0x5cbb/0x6300 io_wq_submit_work+0xf5/0x2c0 fs/io_uring.c:6795 io_worker_handle_work+0x788/0xa20 fs/io-wq.c:515 io_wqe_worker+0x1c9/0x5d0 fs/io-wq.c:566 ret_from_fork+0x1f/0x30 read to 0xffff8881323afc00 of 4 bytes by task 11585 on cpu 1: req_need_defer fs/io_uring.c:1341 [inline] io_drain_req+0x4c1/0x610 fs/io_uring.c:6517 io_queue_sqe fs/io_uring.c:6999 [inline] io_submit_sqe+0x357e/0x3e90 fs/io_uring.c:7179 io_submit_sqes+0x505/0xde0 fs/io_uring.c:7285 __do_sys_io_uring_enter fs/io_uring.c:9943 [inline] __se_sys_io_uring_enter+0x20d/0xb30 fs/io_uring.c:9885 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9885 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11585 Comm: syz-executor.5 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================