WARNING: DATA RACE Write at 0x00c006f4a944 by goroutine 329: runtime.slicecopy() GOROOT/src/runtime/slice.go:295 +0x0 gvisor.dev/gvisor/pkg/safemem.Copy() pkg/safemem/block_unsafe.go:199 +0x39e gvisor.dev/gvisor/pkg/safemem.CopySeq() pkg/safemem/seq_unsafe.go:282 +0x22a gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyIn.func1() pkg/sentry/mm/io.go:164 +0xb7 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings() pkg/sentry/mm/io.go:522 +0x187 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).CopyIn() pkg/sentry/mm/io.go:163 +0x279 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).CopyInBytes() pkg/sentry/kernel/task_usermem.go:57 +0x95 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.copyTimespecIn() pkg/sentry/syscalls/linux/timespec.go:32 +0x8a gvisor.dev/gvisor/pkg/sentry/syscalls/linux.ClockNanosleep() pkg/sentry/syscalls/linux/sys_time.go:206 +0x76 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:142 +0x9b7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:322 +0x7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:282 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:257 +0x495 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:253 +0x18f8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:94 +0x353 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x47 Previous read at 0x00c006f4a944 by goroutine 290: encoding/binary.littleEndian.Uint64() GOROOT/src/encoding/binary/binary.go:78 +0xe4 gvisor.dev/gvisor/pkg/sentry/kernel.makeIovec() pkg/sentry/kernel/task_usermem.go:265 +0xad gvisor.dev/gvisor/pkg/sentry/kernel.copyInIovecs() pkg/sentry/kernel/task_usermem.go:231 +0x27e gvisor.dev/gvisor/pkg/sentry/kernel.(*taskCopyContext).CopyInIovecs() pkg/sentry/kernel/task_usermem.go:387 +0x324 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.doProcessVMReadWrite() pkg/sentry/syscalls/linux/vfs2/mmap.go:166 +0x2ec gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.processVMRW() pkg/sentry/syscalls/linux/vfs2/mmap.go:155 +0x224 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.ProcessVMReadv() pkg/sentry/syscalls/linux/vfs2/mmap.go:109 +0x55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:142 +0x9b7 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:322 +0x7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:282 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:257 +0x495 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:253 +0x18f8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:94 +0x353 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x47