KVM: SEV: Do not allow intra-host migration/mirroring of SNP VMs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
KVM: SEV: Do not allow intra-host migration/mirroring of SNP VMs
The intra-host migration/mirroring feature is not fully implemented for SEV-SNP VMs. The proper migration requires additional SNP-specific state such as guest_req_mutex, guest_req_buf, and guest_resp_buf to be transferred or initialized on the destination.
The SNP VM mirroring requires vmsa features to be copied as well otherwise ASID would be bound to SNP range while VM is detected as a SEV VM.
Reject SNP source VMs in migration/mirroring until proper SNP state transfer is implemented.
[sean: let lines poke past 80 chars, tag for stable]
From the CVE record · Linux
The Linux kernel’s KVM SEV intra-host migration and mirroring do not fully support SEV-SNP VMs: required SNP state is not transferred or initialized, and mirroring does not copy VMSA features. The input does not describe a specific attacker action, authentication requirement, or user interaction; the issue arises when an SNP VM is used as the source for intra-host migration or mirroring.
Engineers running Linux kernel KVM with SEV-SNP VMs should check their systems; affected versions are not specified.