VDB

CVE-2026-52959

CVE-2026-52959 PUBLISHED CVSS 7.8 HIGH

virt: sev-guest: Do not use host-controlled page order in cleanup path

Reported by linux · Published June 24, 2026

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.

EPSS 0.11% · 1.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.33-63.124.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.11%
1.4th percentile

Affected products

VendorProductVersions
LinuxLinux3e385c0d6ce88ac9916dcf84267bd5855d830748, 3e385c0d6ce88ac9916dcf84267bd5855d830748, 3e385c0d6ce88ac9916dcf84267bd5855d830748
LinuxLinux6.14, 0, 6.18.33
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.13.8, 6.14, 6.14
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-headers0
amazon:2023perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.180
LinuxLinux7.1, 6.18.33, 7.0.10
amazon:2023python3-perf6.180
amazon:2023kernel6.180

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 Coalition ESS Score
  • Jun 27, 2026 EPSS Score (6 in total, the first dated here)
  • Jul 14, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-52959
vulnetix vdb fixes CVE-2026-52959

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-52959/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›