CVE-2026-64285: KVM: SEV: Pin source page for write when adding CPUID data for SNP guest

Published Jul 25, 2026
·
Updated

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 guestmemfd 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@]

Affected Software

2 affected components
Linux Kernel
Linux Linux kernel>=7.0<7.1.4

Event History

Jul 25, 2026
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Systems using KVM with SEV-SNP guests and guest_memfd population for initial CPUID data are the relevant scope. Well-behaved VMMs are unlikely to be affected because they normally generate CPUID data dynamically in userspace rather than using a read-only-backed mapping.

2

What condition triggers the unsafe write?

The issue can occur when userspace-provided CPUID data is rejected by trusted firmware and KVM writes corrected CPUID information back to the source page. A source page pinned only for reading may be backed by read-only memory, which KVM can then clobber through a kernel mapping.

3

What should be done if systems are affected?

Apply the available patch, which changes the source-page pin to a writable pin when adding CPUID data for an SNP guest. Until patched, avoid supplying initial SNP guest CPUID data from read-only mappings; use writable, dynamically generated userspace buffers instead.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203