WARNING: DATA RACE Read at 0x00c000c1f4e8 by goroutine 317: gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*InodeSimpleAttributes).UnstableAttr() pkg/sentry/fs/fsutil/inode.go:114 +0x91 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tmpfs.(*Dir).UnstableAttr() pkg/sentry/fs/tmpfs/tmpfs.go:189 +0xc1 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).UnstableAttr() pkg/sentry/fs/inode.go:247 +0x25f gvisor.googlesource.com/gvisor/pkg/sentry/fs.ContextCanAccessFile() pkg/sentry/fs/context.go:36 +0x98 gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.InodeGenericChecker.Check() pkg/sentry/fs/fsutil/inode.go:446 +0x67 gvisor.googlesource.com/gvisor/pkg/sentry/fs/tmpfs.(*Dir).Check() :1 +0x7b gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).check() pkg/sentry/fs/inode.go:300 +0xb5 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*Inode).CheckPermission() pkg/sentry/fs/inode.go:293 +0xa1 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*MountNamespace).FindLink() pkg/sentry/fs/mounts.go:398 +0x486 gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*MountNamespace).FindInode() pkg/sentry/fs/mounts.go:443 +0x93 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.fileOpOn() pkg/sentry/syscalls/linux/sys_file.go:97 +0x187 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Stat() pkg/sentry/syscalls/linux/sys_stat.go:37 +0x145 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x17a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:219 +0x1e3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:215 +0x15a9 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:91 +0x24b Previous write at 0x00c000c1f4e8 by goroutine 492: gvisor.googlesource.com/gvisor/pkg/sentry/fs/ramfs.(*dirFileOperations).Readdir() pkg/sentry/fs/ramfs/dir.go:419 +0x1fb gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Readdir() pkg/sentry/fs/file.go:226 +0x129 gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.getdents() pkg/sentry/syscalls/linux/sys_getdents.go:82 +0x25b gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.Getdents64() pkg/sentry/syscalls/linux/sys_getdents.go:59 +0x148 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:165 +0x17a gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:283 +0xb4 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:244 +0x10c gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:219 +0x1e3 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:215 +0x15a9 gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:91 +0x24b