CVE-2026-52959
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn the Linux kernel, the following vulnerability has been resolved: virt: sev-guest: Do not use host-controlled page order in cleanup path When issuing an extended guest request (SVM_VMGEXIT_EXT_GUEST_REQUEST), get_ext_report() allocates a buffer to retrieve a certificate blob from the host, keeping track of its size in report_req->certs_len. However, the host may return SNP_GUEST_VMM_ERR_INVALID_LEN, indicating an invalid buffer size, as well as the expected length of such buffer. get_ext_report() subsequently updates report_req->certs_len with the host-controlled value, and cleans up the buffer by computing a page order from such value. This is incorrect, as the host-provided length may not match the page order of the original allocation, potentially resulting in corruption in the page allocator. Fix this by using alloc_pages_exact() instead, and reusing @npages to compute the size passed to free_pages_exact(). For consistency, also use @npages to compute the size when allocating the pages, even though this last change has no functional effect.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn the Linux kernel's virt: sev-guest driver, the get_ext_report() function uses a host-controlled length value to compute page order during buffer cleanup. When the host returns SNP_GUEST_VMM_ERR_INVALID_LEN with an expected buffer size, the driver updates report_req->certs_len with this host-provided value and incorrectly computes page order from it, leading to page allocator corruption.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 6.13.8, < 6.14>= 6.14.1, < 6.18.33>= 6.19, < 7.0.10= 6.14= 7.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel versionRun 'uname -r' or check /proc/version to obtain the running kernel versionAffected if Kernel version falls within affected ranges: >= 6.13.8 to < 6.14, >= 6.14.1 to < 6.18.33, >= 6.19 to < 7.0.10, or exactly 6.14 or 7.1
-
Verify SEV-SNP is enabledCheck for SNP support via 'cat /sys/kernel/security/sev_snp' or check dmesg for 'SEV-SNP' messages. Also check kernel cmdline for 'sev-snp' or 'amd-sev-snp' parameters.Affected if SEV-SNP is enabled or the kernel was built with CONFIG_AMD_SEV_SNP=y and the feature is active
-
Check if sev-guest driver is loadedRun 'lsmod | grep sev_guest' or check /sys/module/sev_guest/version. Also verify /dev/sev-guest exists.Affected if The sev_guest module is loaded and the device interface is available
User is affected if running an affected kernel version AND SEV-SNP is enabled with the sev-guest driver active, allowing untrusted host control of buffer length to corrupt memory allocation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped6.146.18.337.0.10
Apply the kernel patch to use alloc_pages_exact() and free_pages_exact() with consistent npages tracking instead of recomputing page order from host-controlled values. This is a kernel source code fix requiring rebuild and deployment.
Linux Kernel 6.14.1, 6.18.33, 7.0.10 or later
- Identify the currently running Linux kernel version using `uname -r`
- Determine which kernel series your distribution uses (e.g., check /etc/os-release for Debian/Ubuntu, or `rpm -q kernel` for RHEL/CentOS)
- Upgrade the Linux kernel to version 6.14.1 or later for the 6.14.x stable branch
- Alternatively, upgrade to version 6.18.33 or later for the 6.18.x stable branch
- Alternatively, upgrade to version 7.0.10 or later for the 7.0.x stable branch
- After kernel upgrade, reboot the system to load the patched kernel
- Verify the fix is applied by checking the kernel version matches one of the fixed releases
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,576.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-52959 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-52959 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data