panic: nested locking: kernfs.filesystemRWMutex: goroutine 2788965 [running]: gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*filesystemRWMutex).Lock(0xc000284050) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/fsimpl/kernfs/filesystem_mutex.go:31 +0x58 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).Release(0xc000284000, {0x6f0d40, 0xc00fbd0000}) pkg/sentry/fsimpl/kernfs/filesystem.go:262 +0x9b gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*filesystem).Release(0xc000284000, {0x6f0d40, 0xc00fbd0000}) pkg/sentry/fsimpl/proc/filesystem.go:104 +0xc5 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef.func1() pkg/sentry/vfs/filesystem.go:81 +0x11a gvisor.dev/gvisor/pkg/sentry/vfs.(*FilesystemRefs).DecRef(0xc000284000, 0xc005aea638) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/filesystem_refs.go:132 +0xb2 gvisor.dev/gvisor/pkg/sentry/vfs.(*Filesystem).DecRef(0xc000284000, {0x6f0d40, 0xc00fbd0000}) pkg/sentry/vfs/filesystem.go:77 +0x87 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc005e88e00, {0x6f0d40, 0xc00fbd0000}) pkg/sentry/vfs/mount.go:643 +0x33a gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc005e88e00, {0x6f0d40, 0xc00fbd0000}) pkg/sentry/vfs/mount.go:625 +0xcc gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).unlockMounts(0xc0002a5de0, {0x6f0d40, 0xc00fbd0000}) pkg/sentry/vfs/vfs.go:1020 +0x254 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).forgetDeadMountpoint(0xc0002a5de0, {0x6f0d40, 0xc00fbd0000}, 0xc0021b3830, 0x1) pkg/sentry/vfs/dentry.go:345 +0x325 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).InvalidateDentry(0xc003dd08e8?, {0x6f0d40, 0xc00fbd0000}, 0xc0021b3830) pkg/sentry/vfs/dentry.go:250 +0xb3 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).revalidateChildLocked(0x2fc840?, {0x6f0d40, 0xc00fbd0000}, 0x4?, 0xc0003b3200, {0xc011e4862c, 0x4}, 0xc0021b3830) pkg/sentry/fsimpl/kernfs/filesystem.go:121 +0x1ec gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).stepExistingLocked(0xc001718d80?, {0x6f0d40, 0xc00fbd0000}, 0xc001718d80, 0xc0003b3200) pkg/sentry/fsimpl/kernfs/filesystem.go:75 +0x525 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).walkExistingLocked(0xc000469ef0?, {0x6f0d40, 0xc00fbd0000}, 0xc001718d80) pkg/sentry/fsimpl/kernfs/filesystem.go:163 +0x11b gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).OpenAt(0xc000469ea0, {0x6f0d40, 0xc00fbd0000}, 0xc001718d80, {0x8001, 0x0, 0x0}) pkg/sentry/fsimpl/kernfs/filesystem.go:486 +0x18d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).OpenAt(0xc00c4c9440?, {0x6f0d40, 0xc00fbd0000}, 0xc0006bc400?, 0xc005aeb428, 0xc005aeb2f8) pkg/sentry/vfs/vfs.go:470 +0x6bc gvisor.dev/gvisor/pkg/sentry/syscalls/linux.openat(0xc00fbd0000, 0x259bfc4?, 0x1?, 0x80001, 0x0) pkg/sentry/syscalls/linux/sys_file.go:112 +0x365 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Openat(0x0?, 0xc005aeb5d0?, {{0xffffff9c}, {0x55d0f029d502}, {0x80001}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:91 +0xcb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00fbd0000, 0x101, {{0xffffff9c}, {0x55d0f029d502}, {0x80001}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xabf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00fbd0000, 0x1?, {{0xffffff9c}, {0x55d0f029d502}, {0x80001}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00861c000?, 0xc005aebb37?, {{0xffffff9c}, {0x55d0f029d502}, {0x80001}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00fbd0000) pkg/sentry/kernel/task_syscall.go:257 +0x53b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00fbd0000?, 0xc00fbd0000) pkg/sentry/kernel/task_run.go:269 +0x22b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00fbd0000, 0x907) pkg/sentry/kernel/task_run.go:98 +0x35b created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:390 +0x1da