[PATCH] drivers/virt: pkvm: Zero and clean memory before sharing it with the host
Fuad Tabba
fuad.tabba at linux.dev
Mon Nov 16 08:46:26 PST 2026
On Mon, 16 Nov 2026 at 16:42, Vincent Donnefort <vdonnefort at google.com> wrote:
[...]
> While I don't disagree with having the memset in CMOs in the guest, I still
> believe the hypervisor should do it as well.
>
> Linux is not the only virtualised guest and they all should be able to trust the
> hypervisor to do the right thing for them, which it doesn't.
I agree, and I think that that's the consensus [1].
This fix is for the guest part.
Cheers,
/fuad
[1] https://lore.kernel.org/all/20260923130031.GE1540250@ziepe.ca/
More information about the linux-arm-kernel
mailing list