WARNING: DATA RACE Write at 0x00c4209dfa28 by goroutine 281: gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).setKUIDsUncheckedLocked() pkg/sentry/kernel/task_identity.go:167 +0x1d0 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).SetUID() pkg/sentry/kernel/task_identity.go:70 +0x292 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Setuid() pkg/sentry/syscalls/linux/sys_identity.go:102 +0x45 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:162 +0x14e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:280 +0x7d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:241 +0xc3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:216 +0x19e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:219 +0x1501 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x264 Previous read at 0x00c4209dfa28 by goroutine 267: gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Value() pkg/sentry/kernel/task.go:577 +0x71b gvisor.googlesource.com/gvisor/pkg/sentry/kernel/auth.CredentialsFromContext() pkg/sentry/kernel/auth/context.go:32 +0x5a gvisor.googlesource.com/gvisor/pkg/sentry/fs.FileOwnerFromContext() pkg/sentry/fs/context.go:85 +0x46 gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc.(*file).UnstableAttr() pkg/sentry/fs/proc/file.go:54 +0x1e5 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).UnstableAttr() pkg/sentry/fs/inode.go:254 +0x217 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.stat() pkg/sentry/syscalls/linux/sys_stat.go:106 +0x9d gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Fstat() pkg/sentry/syscalls/linux/sys_stat.go:98 +0x108 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:162 +0x14e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:280 +0x7d gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:241 +0xc3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:216 +0x19e gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:219 +0x1501 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x264