WARNING: DATA RACE Write at 0x00c05f68cda8 by goroutine 377: gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Release() pkg/sentry/fsimpl/fuse/dev.go:113 +0x107 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:192 +0x375 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef() bazel-out/k8-fastbuild-ST-fa7f2b6368d1/bin/pkg/sentry/vfs/file_description_refs.go:131 +0x7c gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef() pkg/sentry/vfs/file_description.go:161 +0x76 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Close() pkg/sentry/syscalls/linux/vfs2/fd.go:44 +0x24d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:103 +0x194 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:238 +0xb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:198 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:173 +0x213 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:254 +0x1286 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x352 Previous read at 0x00c05f68cda8 by goroutine 204: gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).Call() pkg/sentry/fsimpl/fuse/connection.go:254 +0x6b gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).newEntry() pkg/sentry/fsimpl/fuse/fusefs.go:602 +0x28e gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).Lookup() pkg/sentry/fsimpl/fuse/fusefs.go:493 +0xeb gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked() pkg/sentry/fsimpl/kernfs/filesystem.go:134 +0xe8 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked() pkg/sentry/fsimpl/kernfs/filesystem.go:76 +0x29b gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked() pkg/sentry/fsimpl/kernfs/filesystem.go:166 +0xfd gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).GetDentryAt() pkg/sentry/fsimpl/kernfs/filesystem.go:313 +0x14b gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*filesystem).GetDentryAt() :1 +0x78 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).GetDentryAt() pkg/sentry/vfs/vfs.go:221 +0x147 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.PivotRoot() pkg/sentry/syscalls/linux/vfs2/fscontext.go:163 +0x51d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:103 +0x194 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:238 +0xb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:198 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:173 +0x213 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:254 +0x1286 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:95 +0x352