WARNING: DATA RACE Write at 0x00c00032ac88 by goroutine 267: sync/atomic.CompareAndSwapInt32() src/runtime/race_amd64.s:321 +0xb gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*inode).setStat() pkg/sentry/fsimpl/tmpfs/tmpfs.go:624 +0x371 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*fileDescription).SetStat() pkg/sentry/fsimpl/tmpfs/tmpfs.go:813 +0xfc gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*directoryFD).SetStat() :1 +0xe4 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).SetStat() pkg/sentry/vfs/file_description.go:548 +0x401 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Fchown() pkg/sentry/syscalls/linux/vfs2/setstat.go:161 +0x297 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:104 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:239 +0xb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:199 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:174 +0x213 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x12c6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x392 Previous read at 0x00c00032ac88 by goroutine 443: gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*inode).init() pkg/sentry/fsimpl/tmpfs/tmpfs.go:400 +0x289 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).newRegularFile() pkg/sentry/fsimpl/tmpfs/regular_file.go:102 +0x172 gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystem).OpenAt() pkg/sentry/fsimpl/tmpfs/filesystem.go:391 +0xca6 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt() pkg/sentry/vfs/vfs.go:445 +0x306 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.openat() pkg/sentry/syscalls/linux/vfs2/filesystem.go:180 +0x33c gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Creat() pkg/sentry/syscalls/linux/vfs2/filesystem.go:166 +0x66 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:104 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:239 +0xb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:199 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:174 +0x213 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x12c6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x392