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.
Published: 2026-08-04
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 DSA Debian DSA DSA-6415-1 linux security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Sat, 08 Aug 2026 18:45:00 +0000

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

Sat, 08 Aug 2026 17:45:00 +0000

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

Sat, 08 Aug 2026 15:15:00 +0000

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'}


Tue, 04 Aug 2026 09:30:00 +0000

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

Tue, 04 Aug 2026 06:30:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:28:32.954Z

Reserved: 2026-07-19T15:36:31.796Z

Link: CVE-2026-64562

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-04T07:16:31.093

Modified: 2026-08-19T17:20:15.970

Link: CVE-2026-64562

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-08T18:30:03Z

Weaknesses
  • CWE-416

    Use After Free

  • CWE-469

    Use of Pointer Subtraction to Determine Size