================================================================== BUG: KCSAN: data-race in futex_wait_queue_me / io_req_task_work_add write to 0xffff88810197e02c of 4 bytes by task 14733 on cpu 1: freezer_count include/linux/freezer.h:121 [inline] freezable_schedule include/linux/freezer.h:173 [inline] futex_wait_queue_me+0x1ba/0x260 kernel/futex.c:2606 futex_wait+0x143/0x430 kernel/futex.c:2708 do_futex+0x9e8/0x1e10 kernel/futex.c:3734 __do_sys_futex kernel/futex.c:3797 [inline] __se_sys_futex+0x2a8/0x390 kernel/futex.c:3763 __x64_sys_futex+0x74/0x80 kernel/futex.c:3763 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88810197e02c of 4 bytes by task 14687 on cpu 0: io_req_task_work_add+0x2c/0x320 fs/io_uring.c:1909 __io_async_wake fs/io_uring.c:4895 [inline] io_async_wake+0x1d0/0x3a0 fs/io_uring.c:5122 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:108 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x80/0xc0 kernel/sched/wait.c:157 sock_def_wakeup+0x54/0x70 net/core/sock.c:2887 unix_release_sock+0x32f/0x6e0 net/unix/af_unix.c:552 unix_release+0x2f/0x50 net/unix/af_unix.c:859 __sock_release net/socket.c:599 [inline] sock_close+0x6c/0x150 net/socket.c:1258 __fput+0x25b/0x4e0 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x151/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: 0 PID: 14687 Comm: syz-executor.2 Tainted: G W 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================