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