[PATCH v3 0/3] Fix __pkvm_init_vm error path

Marc Zyngier maz at kernel.org
Thu May 21 07:44:50 PDT 2026


On Thu, 21 May 2026 15:33:15 +0100,
Vincent Donnefort <vdonnefort at google.com> 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:
>  
>   * Enforce order-0 for external pages, making the vmemmap ->order field
>     completely private to hyp_pool.

You send 3 versions of a single series in a matter of hours. How about
taking a step back and working out the problems before posting?

Please? It's not like my inbox is not overflowing already...

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list