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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Freeing the shadow VMCS immediately after VMCLEAR removes the memory that holds the Virtual Machine Control Structure. Because this action can race with the __loaded_vmcs_clear() routine, the kernel may attempt to execute VMCLEAR on a freed page. This use‑after‑free can corrupt kernel memory and give an attacker the ability to execute arbitrary code in the host or crash the virtualization layer, resulting in a denial of service.

Affected Systems

An affected system is any Linux host running the Kernel that incorporates the KVM virtualization layer for Intel VMX. The vulnerability is present in the current kernel code paths for KVM's nVMX handling; the patch series is already merged into the mainline tree. All distributions shipping unpatched kernel versions are at risk.

Risk and Exploitability

With no EPSS metric available, the likelihood of exploitation in the wild cannot be quantified, but the bug is a classic use‑after‑free that can be triggered by a malicious virtual machine exploiting a race. The CVSS score is not provided, and the vulnerability is not yet catalogued by CISA. An attacker would need control over a guest VM and the ability to time the freeing of the shadow VMCS while __loaded_vmcs_clear() is executing; if successful, host compromise or service interruption would ensue.

Generated by OpenCVE AI on August 4, 2026 at 09:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the fix for the race condition in KVM’s VMCS handling.
  • If a kernel update cannot be applied immediately, disable Intel VMX virtualization support (or the KVM hypervisor) for the affected host to eliminate the code path that contains the vulnerability.
  • Monitor logs for VM crashes or VMENTRY errors, isolate critical workloads from vulnerable hypervisor environments until a patch is applied.

Generated by OpenCVE AI on August 4, 2026 at 09:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-04T06:23:21.855Z

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

Link: CVE-2026-64562

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T09:15:03Z

Weaknesses
  • CWE-416

    Use After Free

  • CWE-469

    Use of Pointer Subtraction to Determine Size