================================================================== BUG: KCSAN: data-race in io_worker_handle_work / io_wq_worker_cancel read-write to 0xffff88812bfb34e0 of 4 bytes by task 18615 on cpu 1: __io_wq_worker_cancel io_uring/io-wq.c:993 [inline] io_wq_worker_cancel+0x70/0x140 io_uring/io-wq.c:1010 io_wq_for_each_worker+0x116/0x200 io_uring/io-wq.c:874 io_wq_cancel_running_work io_uring/io-wq.c:1080 [inline] io_wq_cancel_cb+0x10d/0x190 io_uring/io-wq.c:1111 io_async_cancel_one io_uring/cancel.c:87 [inline] __io_async_cancel+0x176/0x270 io_uring/cancel.c:187 __io_sync_cancel io_uring/cancel.c:261 [inline] io_sync_cancel+0x3e6/0x6d0 io_uring/cancel.c:301 __io_uring_register io_uring/register.c:543 [inline] __do_sys_io_uring_register io_uring/register.c:616 [inline] __se_sys_io_uring_register+0x504/0x1190 io_uring/register.c:577 __x64_sys_io_uring_register+0x55/0x70 io_uring/register.c:577 x64_sys_call+0x2c2/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88812bfb34e0 of 4 bytes by task 18613 on cpu 0: io_get_work_hash io_uring/io-wq.c:454 [inline] io_worker_handle_work+0x41a/0x9a0 io_uring/io-wq.c:591 io_wq_worker+0x286/0x820 io_uring/io-wq.c:651 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18613 Comm: iou-wrk-18610 Tainted: G W 6.10.0-rc4-syzkaller-00033-g14d7c92f8df9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 ==================================================================