panic: nested locking: tmpfs.filesystemRWMutex: goroutine 4478 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystemRWMutex).RLock(0xc0004e27b8) bazel-out/k8-fastbuild/bin/pkg/sentry/fsimpl/tmpfs/filesystem_mutex.go:59 +0x3c gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent(0xc0001a6640, {0x1f8db60, 0xc00144c008}, 0x10, 0x0, 0x0) pkg/sentry/fsimpl/tmpfs/tmpfs.go:445 +0xdb gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(0xc0001a6640, {0x1f8db60, 0xc00144c008}, 0x10, 0x0, 0x0) pkg/sentry/vfs/dentry.go:188 +0x75 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.CloseRange.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:167 +0x89 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef(0xc0027aa540, 0xc0043c1698) bazel-out/k8-fastbuild/bin/pkg/sentry/vfs/file_description_refs.go:133 +0x6d gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef(...) pkg/sentry/vfs/file_description.go:161 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.CloseRange(0xc00144c008, 0x0?, {{0x3}, {0x1e}, {0x0}, {0x7f83d0beb000}, {0x1}, {0x7f9ae268ca0f}}) pkg/sentry/syscalls/linux/sys_file.go:500 +0x2e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00144c008, 0x1b4, {{0x3}, {0x1e}, {0x0}, {0x7f83d0beb000}, {0x1}, {0x7f9ae268ca0f}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00144c008, 0x1b4, {{0x3}, {0x1e}, {0x0}, {0x7f83d0beb000}, {0x1}, {0x7f9ae268ca0f}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00144c008, 0x1b4, {{0x3}, {0x1e}, {0x0}, {0x7f83d0beb000}, {0x1}, {0x7f9ae268ca0f}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00144c008) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00144c008?, 0xc00144c008) pkg/sentry/kernel/task_run.go:269 +0x1fae gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00144c008, 0x5fb) pkg/sentry/kernel/task_run.go:97 +0x4fb created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 4580 pkg/sentry/kernel/task_start.go:400 +0x165