panic: runtime error: invalid memory address or nil pointer dereference panic: nested locking: vfs.virtualFilesystemMutex: goroutine 696 [running]: gvisor.dev/gvisor/pkg/sentry/vfs.(*virtualFilesystemMutex).Lock(0xc00088e1d8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/virtual_filesystem_mutex.go:33 +0x4d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).lockMounts(0xc00088e1d8) pkg/sentry/vfs/vfs.go:1013 +0x3a gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc000b5c000, {0x724618, 0xc000eda000}) pkg/sentry/vfs/mount.go:820 +0x75 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc000b5c000, {0x724618, 0xc000eda000}) pkg/sentry/vfs/mount.go:815 +0xca gvisor.dev/gvisor/pkg/sentry/vfs.VirtualDentry.DecRef({0xc000b5c000?, 0xc000eca800?}, {0x724618, 0xc000eda000}) pkg/sentry/vfs/vfs.go:1086 +0x6f panic({0x30b400?, 0x26a6c90?}) GOROOT/src/runtime/panic.go:920 +0x270 gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).PivotRoot(0xc00088e1d8, {0x724618?, 0xc000eda000}, 0xc000562400?, 0xc000e13e00?, 0x7?) pkg/sentry/vfs/mount.go:1058 +0x875 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.PivotRoot(0xc000eda000, 0xc0004daa60?, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:425 +0x4c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000eda000, 0x9b, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaff gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000eda000, 0x1?, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000be42d0?, 0x1255229?, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xbd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000eda000) pkg/sentry/kernel/task_syscall.go:257 +0x55b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000eda000?, 0xc000eda000) pkg/sentry/kernel/task_run.go:269 +0x2387 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000eda000, 0x25) pkg/sentry/kernel/task_run.go:98 +0x36a created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 722 pkg/sentry/kernel/task_start.go:391 +0x1ce