WARNING: DATA RACE Write at 0x00c002125658 by goroutine 983: gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Unshare() pkg/sentry/kernel/task_clone.go:705 +0xd8c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Unshare() pkg/sentry/syscalls/linux/sys_thread.go:453 +0x54 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:143 +0x68c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:323 +0x4c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:283 +0x74 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:258 +0x3bc gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:269 +0x1564 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x390 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:416 +0x40 Previous read at 0x00c002125658 by goroutine 990: gvisor.dev/gvisor/pkg/sentry/kernel.(*FSContext).checkAndPreventSharingOutsideTG.func1() pkg/sentry/kernel/fs_context.go:205 +0x40 gvisor.dev/gvisor/pkg/sentry/kernel.(*ThreadGroup).ForEachTask() pkg/sentry/kernel/threads.go:520 +0x104 gvisor.dev/gvisor/pkg/sentry/kernel.(*FSContext).checkAndPreventSharingOutsideTG() pkg/sentry/kernel/fs_context.go:204 +0xd4 gvisor.dev/gvisor/pkg/sentry/kernel.(*runExecveAfterExecveCredsLock).execute() pkg/sentry/kernel/task_exec.go:155 +0x258 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x390 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:416 +0x40