================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff88809f9dbe6a of 1 bytes by task 23777 on cpu 1: unix_release_sock+0x4fd/0x660 net/unix/af_unix.c:542 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 0xffff88809f9dbe6a of 1 bytes by task 23781 on cpu 0: sock_alloc_send_pskb+0xe9/0x530 net/core/sock.c:2227 unix_stream_sendmsg+0x2d5/0x690 net/unix/af_unix.c:1832 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:659 sock_write_iter+0x16b/0x210 net/socket.c:991 call_write_iter include/linux/fs.h:1902 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_write+0x17b/0x1b0 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x4c/0x60 fs/read_write.c:620 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: 23781 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================