[RESEND v3 0/3] Fix __pkvm_init_vm error path
Marc Zyngier
maz at kernel.org
Wed May 27 06:38:04 PDT 2026
On Thu, 21 May 2026 15:36:23 +0100, Vincent Donnefort wrote:
> Sashiko reported a potential refcount leak in the unlikely case where
> insert_vm_table_entry fails.
>
> While at it, I have added a fail-safe to __pkvm_hyp_donate_host to ensure this
> function doesn't allow leaking refcounted pages.
>
> Changes since v3:
>
> [...]
Applied to next, thanks!
[1/3] KVM: arm64: Reset page order in pKVM hyp_pool
commit: 6835fbed39bb329744a3f44e8e6a39e24079af10
[2/3] KVM: arm64: Fix __pkvm_init_vm error path
commit: 20d2753295b1cd3c766199b5990119ca514e1302
[3/3] KVM: arm64: Add fail-safe for refcounted pages in __pkvm_hyp_donate_host
commit: 5c30c9fc117cc7d0c1b45741d1127edd4c2ae990
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list