================================================================== BUG: KCSAN: data-race in __io_queue_sqe / tctx_task_work write to 0xffff88806259c340 of 4 bytes by task 23307 on cpu 1: __io_queue_sqe+0x225/0x4e0 fs/io_uring.c:6339 __io_req_task_submit fs/io_uring.c:2021 [inline] io_req_task_submit+0x8a/0xc0 fs/io_uring.c:2031 __tctx_task_work fs/io_uring.c:1864 [inline] tctx_task_work+0x1ae/0x3a0 fs/io_uring.c:1878 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_signal include/linux/tracehook.h:212 [inline] handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x109/0x1b0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88806259c340 of 4 bytes by task 23314 on cpu 0: ctx_flush_and_put fs/io_uring.c:1830 [inline] __tctx_task_work fs/io_uring.c:1868 [inline] tctx_task_work+0x257/0x3a0 fs/io_uring.c:1878 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_signal include/linux/tracehook.h:212 [inline] handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x109/0x1b0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 23314 Comm: syz-executor.4 Tainted: G W 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================