================================================================== BUG: KCSAN: data-race in io_submit_flush_completions / tctx_task_work write to 0xffff88810891cae8 of 4 bytes by task 20204 on cpu 0: io_submit_flush_completions+0x31e/0x3f0 fs/io_uring.c:2123 __io_queue_sqe+0x241/0x360 fs/io_uring.c:6435 io_queue_sqe fs/io_uring.c:6464 [inline] io_submit_sqe+0x1695/0x3400 fs/io_uring.c:6619 io_submit_sqes+0x822/0xe50 fs/io_uring.c:6735 __do_sys_io_uring_enter fs/io_uring.c:9340 [inline] __se_sys_io_uring_enter+0x1c7/0xa10 fs/io_uring.c:9283 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9283 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 read to 0xffff88810891cae8 of 4 bytes by task 20190 on cpu 1: ctx_flush_and_put fs/io_uring.c:1906 [inline] tctx_task_work+0x32f/0x420 fs/io_uring.c:1952 task_work_run+0xae/0x130 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:212 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xf8/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 value changed: 0x00000020 -> 0x0000001b Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 20190 Comm: syz-executor.1 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================