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@]
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Thu, 13 Aug 2026 15:15:00 +0000

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'}


Sat, 01 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 28 Jul 2026 00:15:00 +0000


Sun, 26 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 25 Jul 2026 09:30:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:49:26.898Z

Reserved: 2026-07-19T15:36:31.777Z

Link: CVE-2026-64285

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:09.140

Modified: 2026-08-13T14:57:00.270

Link: CVE-2026-64285

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64285 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T18:00:04Z

Weaknesses