================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff888122877a30 of 4 bytes by task 3951 on cpu 1: unix_release_sock+0x52c/0x660 net/unix/af_unix.c:544 unix_release+0x3e/0x70 net/unix/af_unix.c:842 __sock_release+0x85/0x160 net/socket.c:592 sock_close+0x24/0x30 net/socket.c:1270 __fput+0x1e1/0x520 fs/file_table.c:280 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888122877a30 of 4 bytes by task 3957 on cpu 0: sock_error include/net/sock.h:2166 [inline] sock_alloc_send_pskb+0xc2/0x530 net/core/sock.c:2222 unix_dgram_sendmsg+0x2a9/0xdc0 net/unix/af_unix.c:1635 unix_seqpacket_sendmsg+0xb5/0x120 net/unix/af_unix.c:2016 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:659 ____sys_sendmsg+0x212/0x4d0 net/socket.c:2330 ___sys_sendmsg+0xb5/0x100 net/socket.c:2384 __sys_sendmmsg+0x123/0x350 net/socket.c:2474 __do_sys_sendmmsg net/socket.c:2503 [inline] __se_sys_sendmmsg net/socket.c:2500 [inline] __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2500 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3957 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================