diff --git a/arch/arm64/kvm/hyp/nvhe/pkvm.c b/arch/arm64/kvm/hyp/nvhe/pkvm.c index e19af9e891f7..57e1304c3713 100644 --- a/arch/arm64/kvm/hyp/nvhe/pkvm.c +++ b/arch/arm64/kvm/hyp/nvhe/pkvm.c @@ -655,6 +655,7 @@ int __pkvm_teardown_shadow(struct kvm *kvm) /* Reclaim guest pages, and page-table pages */ mc = &vm->host_kvm->arch.pkvm.teardown_mc; reclaim_guest_pages(vm, mc); + remove_shadow_table(shadow_handle); unpin_host_vcpus(vm); /* Push the metadata pages to the teardown memcache */