CVE-2026-63938
Critical · 9.3CVSS
9.3
EPSS
0.2%
Published
Jul 19, 2026
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel's handling of certain requests from secure virtual machines could let one virtual machine read or change memory belonging to the main system or other machines.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits an out-of-bounds access when a guest-provided PSC request pointer does not align with the start of the GHCB shared buffer, allowing the hypervisor to use indices beyond the actual scratch area size during Page State Change processing in KVM SEV.
Why it matters to the business
Successful exploitation can enable a compromised guest VM to corrupt or read host memory, leading to full host takeover, exposure of other tenants' data, and disruption of virtualized workloads on SEV-enabled systems.
How an attack unfolds
An attacker with control of a guest VM crafts a PSC request that supplies a GHCB pointer offset from the buffer start; the missing size validation causes the hypervisor to process invalid indices, resulting in memory operations outside the intended scratch area and potential arbitrary read/write on the host.
How to fix it
Apply the upstream Linux kernel patch that adds validation of PSC request indices against the effective scratch buffer size; reboot affected hosts after installing the fixed kernel build.
How to confirm the fix worked
Confirm the running kernel contains the PSC buffer size check commit; review dmesg or kernel logs for absence of the prior unchecked path and test with synthetic PSC requests from a guest to verify rejection of misaligned buffers.
Typical attack path
- Gain code execution inside a guest VM running on a KVM SEV host
- Trigger a Page State Change request via the GHCB interface with a deliberately misaligned buffer pointer
- Cause the hypervisor to compute indices against the maximum rather than actual buffer size
- Perform out-of-bounds memory access to corrupt host structures or leak data
- Escalate to full host compromise and lateral movement to other VMs
How to detect it
Inspect kernel audit logs and dmesg for PSC-related hypervisor entries that reference invalid buffer offsets or scratch area violations; correlate with guest VM activity that triggers frequent GHCB page state change operations.
What your security team should do
- Prioritize patching of all KVM hosts that enable SEV or SEV-ES within the next maintenance window
- Restrict SEV feature exposure to only workloads that require it until patches are applied
- Monitor for guest-initiated PSC hypercalls that deviate from expected patterns
- Plan staged rollouts beginning with development and non-production SEV environments
The record
In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Check PSC request indices against the actual size of the buffer When processing Page State Change (PSC) requests, validate the PSC buffer against the effective size of the scratch area, which could be less than the maximum size if the guest provided a pointer that isn't exactly at the start of the GHCB shared buffer.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62958 libriscv is a RISC-V sandbox and emulator. CWE-125
- CVE-2026-119338 Tesseract is an open source OCR engine. CWE-125
- CVE-2026-119299 gopacket provides packet processing capabilities for Go. CWE-125
- CVE-2026-119722 Blender before 4.5.15 and 5.x before 5.2.3 contains a heap out-of-bounds access… CWE-125
- CVE-2026-119721 Blender before 4.5.15 and 5.x before 5.2.3 contains an out-of-bounds read vulnerability… CWE-125
- CVE-2026-119720 Blender before 4.5.15 and 5.x before 5.2.3 contains a heap out-of-bounds read… CWE-125
- CVE-2026-104063 Scribus before 1.6.7 contains an out-of-bounds read vulnerability in the Mac PICT image… CWE-125
- CVE-2026-61627 libass is a portable subtitle renderer for the `ASS`/SSA (Advanced Substation… CWE-125