================================================================== BUG: KCSAN: data-race in unix_dgram_poll / unix_release_sock write to 0xffff88814673ce30 of 4 bytes by task 11562 on cpu 0: unix_release_sock+0x310/0x6f0 net/unix/af_unix.c:559 unix_release+0x2f/0x50 net/unix/af_unix.c:867 __sock_release net/socket.c:647 [inline] sock_close+0x6c/0x150 net/socket.c:1293 __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: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 0xffff88814673ce30 of 4 bytes by task 11577 on cpu 1: unix_dgram_poll+0x6e/0x3e0 net/unix/af_unix.c:2698 sock_poll+0x23e/0x260 net/socket.c:1281 vfs_poll include/linux/poll.h:90 [inline] io_poll_rewait fs/io_uring.c:4843 [inline] io_async_task_func+0x158/0x450 fs/io_uring.c:5055 tctx_task_work+0x1b8/0x420 fs/io_uring.c:1938 task_work_run+0xae/0x130 kernel/task_work.c:164 io_run_task_work fs/io_uring.c:2197 [inline] io_run_task_work_sig fs/io_uring.c:6962 [inline] __io_uring_register fs/io_uring.c:10060 [inline] __do_sys_io_uring_register+0x3ae/0x1ea0 fs/io_uring.c:10199 __se_sys_io_uring_register fs/io_uring.c:10179 [inline] __x64_sys_io_uring_register+0x4f/0x60 fs/io_uring.c:10179 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: 0x00000000 -> 0x00000068 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11577 Comm: syz-executor.3 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================