Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-63939

KVM: SEV: Compute the correct max length of the in-GHCB scratch area
Back to all
CVE

CVE-2026-63939

KVM: SEV: Compute the correct max length of the in-GHCB scratch area

In the Linux kernel, the following vulnerability has been resolved:

KVM: SEV: Compute the correct max length of the in-GHCB scratch area

When setting the length of the GHCB scratch area, and the area is in the

GHCB shared buffer, set the effective length of the scratch area to the max

possible size given the start of the guest-provided pointer, and the end of

the shared buffer.

The code was "fine" when first introduced, as KVM doesn't consult the

length of the buffer when emulating MMIO, because the passed in @len always

specifies the max size required.  But for PSC requests, the incoming @len

is just the minimum length (to process the header), and KVM needs to know

the full size of the scratch area to avoid buffer overflows (spoiler alert).

Opportunistically rename @len => @min_len to better reflect its role.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/5867d7e202e09f037cefe77f7af4413c7c0fa088, https://git.kernel.org/stable/c/6644565527c4c5f507088b1c9ddf72de47790b68, https://git.kernel.org/stable/c/6ca9400d36005ffdca25f80186bea781c7e1dc4c, https://git.kernel.org/stable/c/9f0a9e780f02c02d025a190f1885e1d1d73b87bd, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63939.json, https://nvd.nist.gov/vuln/detail/CVE-2026-63939, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.3

CVSS Score
0
10

Basic Information

Base CVSS
9.3
EPSS Probability
0.00195%
EPSS Percentile
0.09222%
Introduced Version
9b54e248d2644be71cb394eb85f31ad99e023a05,6.11.0,6.13.0,6.19.0,0
Fix Available
5867d7e202e09f037cefe77f7af4413c7c0fa088,6.12.93,6.18.35,7.0.12,6.12.94-1,7.0.0-28.28~24.04.1,7.0.0-1016.16~24.04.1,7.0.0-28.28.1~24.04.3,0:6.12.0-206.104.3.3.el9uek,0:6.12.0-206.104.3.3.el10uek,1:6.18.35-68.127.amzn2023,1:1.0-0.amzn2023,1:6.12.94-123.174.amzn2023

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading