================================================================== BUG: KCSAN: data-race in __io_queue_sqe / tctx_task_work write to 0xffff88813f7abae8 of 4 bytes by task 14788 on cpu 1: __io_queue_sqe+0x1f9/0x360 fs/io_uring.c:6452 io_req_task_submit+0x88/0x150 fs/io_uring.c:2031 io_async_task_func+0x302/0x450 fs/io_uring.c:5077 tctx_task_work+0x1b8/0x420 fs/io_uring.c:1949 task_work_run+0xae/0x130 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x49/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813f7abae8 of 4 bytes by task 14774 on cpu 0: ctx_flush_and_put fs/io_uring.c:1917 [inline] tctx_task_work+0x32f/0x420 fs/io_uring.c:1963 task_work_run+0xae/0x130 kernel/task_work.c:164 io_run_task_work fs/io_uring.c:2208 [inline] io_run_task_work_sig fs/io_uring.c:6981 [inline] __io_uring_register fs/io_uring.c:10085 [inline] __do_sys_io_uring_register+0x3ae/0x1ea0 fs/io_uring.c:10224 __se_sys_io_uring_register fs/io_uring.c:10204 [inline] __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10204 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000006 -> 0x0000000a Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 14774 Comm: syz-executor.4 Tainted: G W 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================