CVE-2026-63939
KVM: SEV: Compute the correct max length of the in-GHCB scratch area
Reported by linux · Published July 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9b54e248d2644be71cb394eb85f31ad99e023a05, 9b54e248d2644be71cb394eb85f31ad99e023a05, 9b54e248d2644be71cb394eb85f31ad99e023a05 |
| Linux | Linux | 6.11, 0, 6.12.93 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.11, 6.11, 6.11 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.94-123.174 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
…and 7 more
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Jul 27, 2026 CVE Updated
- Aug 7, 2026 EPSS Score (16 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63939
vulnetix vdb fixes CVE-2026-63939
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-63939/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart