WARNING: DATA RACE Write at 0x00c00031343c by goroutine 15: gvisor.dev/gvisor/pkg/sentry/fs.(*UnstableAttr).SetOwner() pkg/sentry/fs/attr.go:254 +0xc9 gvisor.dev/gvisor/pkg/sentry/fs/fsutil.(*InodeSimpleAttributes).SetOwner() pkg/sentry/fs/fsutil/inode.go:139 +0x7d gvisor.dev/gvisor/pkg/sentry/fs/tty.(*slaveInodeOperations).SetOwner() :1 +0x79 gvisor.dev/gvisor/pkg/sentry/fs.(*Inode).SetOwner() pkg/sentry/fs/inode.go:341 +0x147 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.chown() pkg/sentry/syscalls/linux/sys_file.go:1682 +0x222 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Fchown() pkg/sentry/syscalls/linux/sys_file.go:1744 +0x14a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x455 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:291 +0xb4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:252 +0x109 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:227 +0x1b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:232 +0x1aaf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x308 Previous read at 0x00c000313438 by goroutine 248: gvisor.dev/gvisor/pkg/sentry/fs/tty.(*slaveInodeOperations).Truncate() :1 +0x4f gvisor.dev/gvisor/pkg/sentry/fs.(*Inode).Truncate() pkg/sentry/fs/inode.go:363 +0x187 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openAt.func1() pkg/sentry/syscalls/linux/sys_file.go:178 +0x601 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.fileOpOn() pkg/sentry/syscalls/linux/sys_file.go:111 +0x23f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openAt() pkg/sentry/syscalls/linux/sys_file.go:140 +0x141 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Open() pkg/sentry/syscalls/linux/sys_file.go:470 +0xfa gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:170 +0x455 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:291 +0xb4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:252 +0x109 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:227 +0x1b3 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:232 +0x1aaf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:92 +0x308