================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff888124d18630 of 4 bytes by task 21769 on cpu 1: unix_release_sock+0x2ad/0x650 net/unix/af_unix.c:550 unix_release+0x2f/0x50 net/unix/af_unix.c:861 __sock_release net/socket.c:596 [inline] sock_close+0x6c/0x150 net/socket.c:1277 __fput+0x246/0x4d0 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:141 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:165 [inline] exit_to_user_mode_prepare+0x1b2/0x210 kernel/entry/common.c:192 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:267 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888124d18630 of 4 bytes by task 21775 on cpu 0: sock_error include/net/sock.h:2217 [inline] sock_alloc_send_pskb+0xe0/0x470 net/core/sock.c:2328 unix_stream_sendmsg+0x408/0xa60 net/unix/af_unix.c:1872 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] __sys_sendto+0x2ae/0x380 net/socket.c:1992 __do_sys_sendto net/socket.c:2004 [inline] __se_sys_sendto net/socket.c:2000 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:2000 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21775 Comm: syz-executor.5 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================