CVE-2026-64286

KVM: arm64: Clear __hyp_running_vcpu when flushing the pKVM hyp vCPU

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

KVM: arm64: Clear __hyp_running_vcpu when flushing the pKVM hyp vCPU

flush_hyp_vcpu() copies the host vCPU context into the hyp's private
vCPU on every run. ctxt_to_vcpu() expects a guest context to have a
NULL __hyp_running_vcpu, which is only ever set on the host context, so
that it resolves the vCPU via container_of(). While this is generally
the case, flush_hyp_vcpu() copies the context verbatim and does not
enforce this, so a value provided by the host is dereferenced at EL2
(host -> EL2).

Fix by clearing __hyp_running_vcpu after the copy.

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel's KVM arm64 hypervisor allows the host Virtual CPU context to be copied to the hypervisor's private context without ensuring the __hyp_running_vcpu flag is cleared. Because the hypervisor code assumes this flag is null and uses container_of() to resolve the VCPU, a value supplied by the host can be dereferenced at EL2, allowing a malicious guest to alter host state or gain elevated privileges. The vulnerability is reported against the generic Linux kernel. While no specific kernel versions are enumerated, any kernel build that integrates the unpatched KVM code on arm64 is considered vulnerable. The EPSS score of less than 1% and absence from the CISA KEV catalog indicate that exploitation is currently unlikely, yet exploitation would be high‑impact if achieved. It is inferred that the attack vector requires a malicious KVM guest to manipulate host context data, so the vulnerability primarily affects virtualized environments. No public exploits are documented, but the CVSS score of 8.2 reflects the serious privilege escalation potential if an attacker can deliver arbitrary code to a guest VM.

Affected Systems

All arm64 Linux kernels that include KVM virtualization are affected until the commit that clears __hyp_running_vcpu after context copying is applied. The vulnerability is reported against the generic Linux kernel. While no specific kernel versions are enumerated, any kernel build that integrates the unpatched KVM code on arm64 is considered vulnerable.

Risk and Exploitability

The EPSS score of less than 1% and absence from the CISA KEV catalog indicate that exploitation is currently unlikely, yet exploitation would be high‑impact if achieved. The likely attack vector is a malicious KVM guest that supplies crafted host context data to the hypervisor. This vulnerability involves dereferencing a non‑null __hyp_running_vcpu pointer in the hypervisor, which could lead to alteration of host state and privilege escalation. The CVSS score of 8.2 reflects the severity of this privilege escalation potential.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the commit clearing __hyp_running_vcpu after copying the host context
  • If a vendor update is not yet available, manually apply the patch modifying flush_hyp_vcpu() to clear __hyp_running_vcpu before proceeding
  • Temporarily disable KVM virtualization on arm64 systems until a patched kernel is deployed

Generated by OpenCVE AI on October 23, 2026 at 00:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) 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-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-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Weaknesses CWE-822
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-476
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Type Values Removed Values Added
Weaknesses CWE-476
CWE-590
Type Values Removed Values Added
Weaknesses CWE-476
CWE-590
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Clear __hyp_running_vcpu when flushing the pKVM hyp vCPU flush_hyp_vcpu() copies the host vCPU context into the hyp's private vCPU on every run. ctxt_to_vcpu() expects a guest context to have a NULL __hyp_running_vcpu, which is only ever set on the host context, so that it resolves the vCPU via container_of(). While this is generally the case, flush_hyp_vcpu() copies the context verbatim and does not enforce this, so a value provided by the host is dereferenced at EL2 (host -> EL2). Fix by clearing __hyp_running_vcpu after the copy.
Title KVM: arm64: Clear __hyp_running_vcpu when flushing the pKVM hyp vCPU
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:38 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Modified
Published
Jul 25, 2026, 10:17 AM
Modified
Oct 19, 2026, 9:17 PM
Severity
Moderate
Public date
Jul 25, 2026, 12:00 AM