WARNING: DATA RACE Write at 0x00c006450448 by goroutine 304: 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 0x00c006450448 by goroutine 350: 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).SetXattrAt() pkg/sentry/fsimpl/kernfs/filesystem.go:966 +0x144 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*filesystem).SetXattrAt() :1 +0xd1 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).SetXattrAt() pkg/sentry/vfs/vfs.go:764 +0x18f gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.setxattr() pkg/sentry/syscalls/linux/vfs2/xattr.go:202 +0x3ea gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.SetXattr() pkg/sentry/syscalls/linux/vfs2/xattr.go:164 +0xa4 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