CVE-2026-52959 Details
Description
In 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.
A vulnerability exists in the Linux kernel's SEV-guest virtualization component. When an extended guest request is processed, a buffer is allocated to receive a certificate blob from the host. The size of this buffer is tracked in a variable that can be manipulated by the host. If the host indicates an invalid length, the kernel updates the variable with this incorrect value and uses it to determine how to free the allocated memory. This can lead to corruption in the memory management system. The vulnerability has been addressed by changing the memory allocation and deallocation methods to ensure they are based on the actual number of pages needed, rather than a potentially incorrect length provided by the host.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/23e6a1ca04ae44806439a5a446e62e4d42e80bb4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3f6fb0211b39aaa1b841260681dd02ca6b693ed5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9e48b4f813d2c3db75d522aa82ab705ce04b7e2d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.13.8, < 6.14 >= 6.14.1, < 6.18.33 >= 6.19, < 7.0.10 6.14 - 6.14 rc6 6.14 rc7 7.1 rc1 7.1 rc2 7.1 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | Initial Analysis | [email protected] |
| Jun 28, 2026 | CVE Modified | kernel.org |
| Jun 24, 2026 | New CVE Received | kernel.org |