================================================================== BUG: KCSAN: data-race in __io_queue_sqe / tctx_task_work write to 0xffff88812af49b40 of 4 bytes by task 26815 on cpu 0: __io_queue_sqe+0x224/0x3a0 fs/io_uring.c:6342 __io_req_task_submit fs/io_uring.c:2001 [inline] io_req_task_submit+0x89/0xc0 fs/io_uring.c:2011 __tctx_task_work fs/io_uring.c:1844 [inline] tctx_task_work+0x1d4/0x3d0 fs/io_uring.c:1858 task_work_run+0xae/0x130 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+0xf3/0x170 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+0x40/0x50 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812af49b40 of 4 bytes by task 26825 on cpu 1: ctx_flush_and_put fs/io_uring.c:1810 [inline] __tctx_task_work fs/io_uring.c:1848 [inline] tctx_task_work+0x282/0x3d0 fs/io_uring.c:1858 task_work_run+0xae/0x130 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+0xf3/0x170 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+0x40/0x50 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 26825 Comm: syz-executor.2 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================