WARNING: DATA RACE Write at 0x00c420605528 by goroutine 364: 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).SetRESUID() pkg/sentry/kernel/task_identity.go:159 +0x16d gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Setresuid() pkg/sentry/syscalls/linux/sys_identity.go:117 +0x57 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 0x00c420605528 by goroutine 440: 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/fs.ContextCanAccessFile() pkg/sentry/fs/context.go:36 +0x98 gvisor.googlesource.com/gvisor/pkg/sentry/fs/ramfs.(*Entry).Check() pkg/sentry/fs/ramfs/ramfs.go:107 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc.(*fdInfoDir).Check() :1 +0x84 gvisor.googlesource.com/gvisor/pkg/sentry/fs/proc.(*file).Check() :1 +0x98 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).check() pkg/sentry/fs/inode.go:307 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).CheckPermission() pkg/sentry/fs/inode.go:300 +0xa1 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Fchdir() pkg/sentry/syscalls/linux/sys_file.go:677 +0x1cf 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