================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff888028c88a6a of 1 bytes by task 13602 on cpu 0: unix_release_sock+0x25e/0x650 net/unix/af_unix.c:548 unix_release+0x2f/0x50 net/unix/af_unix.c:859 __sock_release net/socket.c:597 [inline] sock_close+0x6c/0x150 net/socket.c:1256 __fput+0x243/0x4d0 fs/file_table.c:281 ____fput+0x11/0x20 fs/file_table.c:314 task_work_run+0x8e/0x110 kernel/task_work.c:168 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+0x16b/0x1a0 kernel/entry/common.c:201 __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+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888028c88a6a of 1 bytes by task 13607 on cpu 1: sock_alloc_send_pskb+0x109/0x4e0 net/core/sock.c:2333 unix_dgram_sendmsg+0x485/0x1660 net/unix/af_unix.c:1670 unix_seqpacket_sendmsg+0xc2/0x100 net/unix/af_unix.c:2054 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x352/0x4c0 net/socket.c:2336 ___sys_sendmsg net/socket.c:2390 [inline] __sys_sendmmsg+0x335/0x4b0 net/socket.c:2480 __do_sys_sendmmsg net/socket.c:2509 [inline] __se_sys_sendmmsg net/socket.c:2506 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2506 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: 1 PID: 13607 Comm: syz-executor.0 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================