================================================================== BUG: KCSAN: data-race in io_req_task_complete / kiocb_done write to 0xffff88812c86dc44 of 4 bytes by task 11040 on cpu 1: io_req_complete_state fs/io_uring.c:2157 [inline] io_req_task_complete+0x9a/0x490 fs/io_uring.c:3030 handle_tw_list fs/io_uring.c:2509 [inline] tctx_task_work+0x7d3/0xab0 fs/io_uring.c:2543 task_work_run+0x8e/0x110 kernel/task_work.c:164 get_signal+0x144f/0x15a0 kernel/signal.c:2681 arch_do_signal_or_restart+0x87/0x2b0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop kernel/entry/common.c:180 [inline] exit_to_user_mode_prepare+0xc1/0x140 kernel/entry/common.c:215 __syscall_exit_to_user_mode_work kernel/entry/common.c:297 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:308 do_syscall_64+0x37/0x50 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812c86dc44 of 4 bytes by task 11049 on cpu 0: kiocb_done+0x1b6/0x650 fs/io_uring.c:3303 io_write+0x4fe/0x620 fs/io_uring.c:4066 io_issue_sqe+0x9c9/0x8790 fs/io_uring.c:7258 io_wq_submit_work+0x1d5/0x380 fs/io_uring.c:7421 io_worker_handle_work+0x528/0xc20 fs/io-wq.c:597 io_wqe_worker+0x1e6/0x540 fs/io-wq.c:644 ret_from_fork+0x1f/0x30 value changed: 0x00ac4100 -> 0x00ad0100 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11049 Comm: iou-wrk-11040 Not tainted 5.17.0-syzkaller-14079-gbe2d3ecedd99-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== ================================================================== BUG: KCSAN: data-race in io_req_task_complete / io_wq_free_work write to 0xffff888125bda044 of 4 bytes by task 11040 on cpu 1: io_req_complete_state fs/io_uring.c:2157 [inline] io_req_task_complete+0x9a/0x490 fs/io_uring.c:3030 handle_tw_list fs/io_uring.c:2509 [inline] tctx_task_work+0x7d3/0xab0 fs/io_uring.c:2543 task_work_run+0x8e/0x110 kernel/task_work.c:164 get_signal+0x144f/0x15a0 kernel/signal.c:2681 arch_do_signal_or_restart+0x87/0x2b0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop kernel/entry/common.c:180 [inline] exit_to_user_mode_prepare+0xc1/0x140 kernel/entry/common.c:215 __syscall_exit_to_user_mode_work kernel/entry/common.c:297 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:308 do_syscall_64+0x37/0x50 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888125bda044 of 4 bytes by task 11049 on cpu 0: req_ref_put_and_test fs/io_uring.c:1244 [inline] io_put_req_find_next fs/io_uring.c:2744 [inline] io_wq_free_work+0x22/0x240 fs/io_uring.c:7382 io_worker_handle_work+0x565/0xc20 fs/io-wq.c:600 io_wqe_worker+0x1e6/0x540 fs/io-wq.c:644 ret_from_fork+0x1f/0x30 value changed: 0x00ac4100 -> 0x00ad0100 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 11049 Comm: iou-wrk-11040 Not tainted 5.17.0-syzkaller-14079-gbe2d3ecedd99-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================