panic: nested locking: tmpfs.filesystemRWMutex: goroutine 334102 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*filesystemRWMutex).RLock(0xc000776138) bazel-out/k8-fastbuild/bin/pkg/sentry/fsimpl/tmpfs/filesystem_mutex.go:59 +0x3c gvisor.dev/gvisor/pkg/sentry/fsimpl/tmpfs.(*dentry).InotifyWithParent(0xc0001925f0, {0x1f8db60, 0xc015b0a008}, 0x10, 0x0, 0x0) pkg/sentry/fsimpl/tmpfs/tmpfs.go:445 +0xdb gvisor.dev/gvisor/pkg/sentry/vfs.(*Dentry).InotifyWithParent(0xc0001925f0, {0x1f8db60, 0xc015b0a008}, 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(0xc025b2f9d0, 0xc014fc3698) 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(0xc015b0a008, 0x0?, {{0x3}, {0x1e}, {0x0}, {0x7f2cb48c9000}, {0x1}, {0x7f449b8aea0f}}) pkg/sentry/syscalls/linux/sys_file.go:500 +0x2e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc015b0a008, 0x1b4, {{0x3}, {0x1e}, {0x0}, {0x7f2cb48c9000}, {0x1}, {0x7f449b8aea0f}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc015b0a008, 0x1b4, {{0x3}, {0x1e}, {0x0}, {0x7f2cb48c9000}, {0x1}, {0x7f449b8aea0f}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc015b0a008, 0x1b4, {{0x3}, {0x1e}, {0x0}, {0x7f2cb48c9000}, {0x1}, {0x7f449b8aea0f}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc015b0a008) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc015b0a008?, 0xc015b0a008) pkg/sentry/kernel/task_run.go:269 +0x1fae gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc015b0a008, 0xc38c) pkg/sentry/kernel/task_run.go:97 +0x4fb created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 333950 pkg/sentry/kernel/task_start.go:400 +0x165