CVE-2026-64562

KVM: nVMX: Hide shadow VMCS right after VMCLEAR

Published Aug 4, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: nVMX: Hide shadow VMCS right after VMCLEAR

free_nested() frees the shadow VMCS while vmcs01 still points to it. But
because it is asynchronous with respect to loaded_vmcs_clear(), the vCPU
might migrate before the pointer is cleared and __loaded_vmcs_clear()
may then execute VMCLEAR.

The VMCS needs to stay attached until its explicit VMCLEAR completes, but
then it can be hidden and the page safely freed.

Analysis

AI-generated

Technical impact

The flaw arises in the Linux kernel’s KVM nVMX module where free_nested() deallocates a shadow VMCS while vmcs01 still points to it. Because this deallocation occurs asynchronously relative to loaded_vmcs_clear(), a virtual CPU may migrate before the pointer is cleared and __loaded_vmcs_clear() can then attempt to execute VMCLEAR on a page that has already been freed. This use‑after‑free can corrupt kernel memory or allow execution of arbitrary code in the host context. The issue involves a race condition between deallocation and clear operations.

Affected Systems

Any Linux host that runs the mainline kernel with the KVM virtualization layer enabled for Intel VMX is affected. The vulnerability is confined to the default KVM code path for nested virtualization (nVMX); distributions shipping an unpatched kernel that includes this legacy cleanup logic are vulnerable. Hosts that do not run KVM or have Intel VMX support disabled are not impacted.

Risk and Exploitability

The CVSS score of 8.8 places the vulnerability in the high severity category. Its EPSS score of < 1% indicates a low likelihood of exploitation in the wild, and it is not listed in the CISA KEV catalog. Nevertheless, the defect can be triggered by a privileged guest VM that can time the release of the shadow VMCS against an ongoing __loaded_vmcs_clear() operation. Successful exploitation would allow the guest to corrupt the host kernel or crash KVM, resulting in host compromise or denial of service. The attack vector is internal to the hypervisor, requiring control of a guest on the affected host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the KVM nVMX race‑condition fix.
  • If an immediate kernel upgrade is not feasible, disable Intel VMX support or entirely disable the KVM hypervisor on the host to remove the vulnerable code path.
  • As a temporary safeguard, migrate critical workloads to a hypervisor that does not use KVM with Intel VMX or isolate them on a host running the patched kernel.
  • Continuously monitor system logs for VMENTRY failures, KVM crashes, or kernel panics, and isolate any affected workloads until the patch is applied.

Generated by OpenCVE AI on August 8, 2026 at 18:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6415-1 linux security update
Ubuntu USN Ubuntu USN USN-8781-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8876-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8875-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8877-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8878-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8879-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8875-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:4.9:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:4.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:4.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:4.9:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:4.9:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:4.9:rc8:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.2:rc4:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
CWE-469
Type Values Removed Values Added
Weaknesses CWE-416
CWE-469
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-416
CWE-469
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: nVMX: Hide shadow VMCS right after VMCLEAR free_nested() frees the shadow VMCS while vmcs01 still points to it. But because it is asynchronous with respect to loaded_vmcs_clear(), the vCPU might migrate before the pointer is cleared and __loaded_vmcs_clear() may then execute VMCLEAR. The VMCS needs to stay attached until its explicit VMCLEAR completes, but then it can be hidden and the page safely freed.
Title KVM: nVMX: Hide shadow VMCS right after VMCLEAR
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-416

    Use After Free

  • CWE-469

    Use of Pointer Subtraction to Determine Size

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:48 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Aug 4, 2026, 7:16 AM
Modified
Nov 13, 2026, 6:18 PM