================================================================== BUG: KCSAN: data-race in __io_cqring_fill_event / io_uring_poll write to 0xffff8881077e4a00 of 4 bytes by task 5371 on cpu 1: io_get_cqe fs/io_uring.c:1656 [inline] __io_cqring_fill_event+0xf9/0x380 fs/io_uring.c:1834 io_req_complete_post+0x4b/0x5d0 fs/io_uring.c:1857 io_issue_sqe+0x5217/0x5680 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6793 io_worker_handle_work+0x4cf/0xb10 fs/io-wq.c:553 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:606 ret_from_fork+0x1f/0x30 read to 0xffff8881077e4a00 of 4 bytes by task 5357 on cpu 0: __io_cqring_events fs/io_uring.c:1640 [inline] io_cqring_events fs/io_uring.c:2416 [inline] io_uring_poll+0xc6/0x146 fs/io_uring.c:9382 vfs_poll include/linux/poll.h:90 [inline] io_poll_rewait fs/io_uring.c:5298 [inline] io_poll_task_func+0x12d/0x9d0 fs/io_uring.c:5374 tctx_task_work+0x25a/0x410 fs/io_uring.c:2206 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x102/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000002ac -> 0x000002b0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5357 Comm: syz-executor.3 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================