panic: runtime error: invalid memory address or nil pointer dereference panic: nested locking: vfs.virtualFilesystemMutex: goroutine 18972 [running]: gvisor.dev/gvisor/pkg/sentry/vfs.(*virtualFilesystemMutex).Lock(0xc0006bafd8) bazel-out/k8-fastbuild-ST-3dcbe13c9b87/bin/pkg/sentry/vfs/virtual_filesystem_mutex.go:33 +0x4d gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).lockMounts(0xc0006bafd8) pkg/sentry/vfs/vfs.go:1013 +0x3a gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).destroy(0xc000b57080, {0x724618, 0xc0012e8000}) pkg/sentry/vfs/mount.go:820 +0x75 gvisor.dev/gvisor/pkg/sentry/vfs.(*Mount).DecRef(0xc000b57080, {0x724618, 0xc0012e8000}) pkg/sentry/vfs/mount.go:815 +0xca gvisor.dev/gvisor/pkg/sentry/vfs.VirtualDentry.DecRef({0xc000b57080?, 0xc0010d1400?}, {0x724618, 0xc0012e8000}) 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(0xc0006bafd8, {0x724618?, 0xc0012e8000}, 0xc000a1b400?, 0xc000f32100?, 0x7?) pkg/sentry/vfs/mount.go:1058 +0x875 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.PivotRoot(0xc0012e8000, 0x124c62e?, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:425 +0x4c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0012e8000, 0x9b, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xaff gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0012e8000, 0x1?, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000cb32c0?, 0x1255229?, {{0x20000280}, {0x200002c0}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xbd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0012e8000) pkg/sentry/kernel/task_syscall.go:257 +0x55b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0012e8000?, 0xc0012e8000) pkg/sentry/kernel/task_run.go:269 +0x2387 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0012e8000, 0x5f8) pkg/sentry/kernel/task_run.go:98 +0x36a created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 18978 pkg/sentry/kernel/task_start.go:391 +0x1ce