CVE-2026-64285

KVM: SEV: Pin source page for write when adding CPUID data for SNP guest

Published Jul 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: SEV: Pin source page for write when adding CPUID data for SNP guest

When populating a guest_memfd instance with the initial CPUID data for an
SNP guest, acquire a writable pin on the source page as KVM will write back
the "correct" CPUID information if the userspace provided data is rejected
by trusted firmware. Because KVM writes to the source page using a kernel
mapping, pinning for read could result in KVM clobbering read-only memory.

Note, well-behaved VMMs are unlikely to be affected, as CPUID information
is almost always dynamically generated by userspace, i.e. it's unlikely for
the CPUID information to be backed by a read-only mapping.

[sean: rewrite shortlog and changelog, tag for stable@]

Analysis

AI-generated

Technical impact

The vulnerability arises in the Linux kernel’s KVM hypervisor when handling Secure Nested Paging (SNP) guests. During the construction of a guest_memfd object, KVM incorrectly pins a source page for read access, yet subsequently writes to that page via a kernel mapping. If the guest’s CPUID data is backed by a read‑only mapping, the kernel write can overwrite protected memory. This can lead to corruption of kernel data structures and, in the most severe scenario, arbitrary code execution or escalation of privileges. The weakness is a write to a region that should be read‑only, matching CWE‑787 (Out‑of‑Bounds Write).

Affected Systems

All Linux kernel installations that include the KVM hypervisor with SEV support, specifically when running SNP guests. The issue is tied to how the kernel manages CPUID data for such guests; therefore any distribution or custom kernel build that retains the unpatched code path is potentially affected. No specific version range is listed, so the fix should be applied to any kernel version that contains the aforementioned commit.

Risk and Exploitability

The EPSS score is reported as less than 1%, indicating a low probability of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog, which suggests that known exploits are not publicly available. The CVSS score is 5.5, indicating a medium severity. The likely attack vector is local to the virtual machine monitor (VMM); a malicious or compromised VMM that provides read‑only CPUID data could trigger the fault. Well‑behaved VMMs normally generate CPUID data dynamically and do not use read‑only mappings, so the practical risk to typical deployments is limited, but the potential impact of memory corruption cannot be dismissed. Organizations running KVM with SEV‑SNP guests should treat this as a memory‑corruption risk that could undermine kernel integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the fix for KVM SEV SNP CPUID handling (see commit dcdb476f5fc5701e and f13e900599089b1 for the applicable patch).
  • If an immediate kernel update is not feasible, disable SEV or SNP support for the affected guests to prevent the fault from occurring.
  • Verify that the VMM supplies CPUID data via writable mappings; modify the VMM configuration or code to avoid read‑only source pages when populating guest_memfd.

Generated by OpenCVE AI on August 13, 2026 at 17:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Pin source page for write when adding CPUID data for SNP guest When populating a guest_memfd instance with the initial CPUID data for an SNP guest, acquire a writable pin on the source page as KVM will write back the "correct" CPUID information if the userspace provided data is rejected by trusted firmware. Because KVM writes to the source page using a kernel mapping, pinning for read could result in KVM clobbering read-only memory. Note, well-behaved VMMs are unlikely to be affected, as CPUID information is almost always dynamically generated by userspace, i.e. it's unlikely for the CPUID information to be backed by a read-only mapping. [sean: rewrite shortlog and changelog, tag for stable@]
Title KVM: SEV: Pin source page for write when adding CPUID data for SNP guest
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 4:52 AM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 25, 2026, 10:17 AM
Modified
Aug 17, 2026, 5:17 AM
Severity
Public date
Jul 25, 2026, 12:00 AM