================================================================== BUG: KCSAN: data-race in io_submit_flush_completions / tctx_task_work write to 0xffff88813f87eb40 of 4 bytes by task 31715 on cpu 1: io_submit_flush_completions+0x30d/0x3e0 fs/io_uring.c:2158 ctx_flush_and_put fs/io_uring.c:1883 [inline] __tctx_task_work fs/io_uring.c:1919 [inline] tctx_task_work+0x2c8/0x3d0 fs/io_uring.c:1929 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+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813f87eb40 of 4 bytes by task 31702 on cpu 0: ctx_flush_and_put fs/io_uring.c:1881 [inline] __tctx_task_work fs/io_uring.c:1919 [inline] tctx_task_work+0x282/0x3d0 fs/io_uring.c:1929 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+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000002 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 31702 Comm: syz-executor.4 Not tainted 5.13.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================