Cloudanix VulnDB

CVE-2026-64286

High · 8.2

CVSS

8.2

EPSS

0.2%

Published

Jul 25, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in some ARM-based Linux virtualization hosts could let a highly privileged local user weaken or crash the system’s virtual machine isolation unless the kernel is updated.

Exploitation
Local Privilege
Attacker needs
High Privilege
Complexity
Low
Impact
Privilege Gain
Component
OS kernel
Class
Privilege Escalation
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

This is a Linux kernel KVM vulnerability affecting arm64 systems using protected KVM (pKVM). During vCPU execution, flush_hyp_vcpu() copies host vCPU context into the hypervisor-private vCPU context. The copied context can retain a host-controlled __hyp_running_vcpu pointer that ctxt_to_vcpu() expects to be NULL for guest context. If not cleared, EL2 hypervisor code can dereference a value influenced by the host, creating a host-to-hypervisor trust-boundary violation. A successful exploit could compromise confidentiality, integrity, and availability across the virtualization boundary, potentially allowing a highly privileged local attacker on the host to affect protected hypervisor state or crash the system.

Why it matters to the business

Organizations running arm64 Linux virtualization with KVM/pKVM could face host instability, protected workload isolation failure, or compromise of virtualization security guarantees. Although exploitation requires high local privileges and no public exploit is currently indicated, the CVSS score is high because successful abuse crosses a sensitive privilege boundary between the host kernel and hypervisor. Systems not using arm64 KVM/pKVM are unlikely to be exposed.

How an attack unfolds

An attacker first needs high privileges on a vulnerable arm64 Linux host, such as root or equivalent kernel-level capability to influence KVM vCPU state. They would then manipulate or trigger KVM execution paths involving protected KVM vCPU synchronization. When flush_hyp_vcpu() copies the host-side vCPU context into the hypervisor-private vCPU structure, the attacker-controlled or attacker-influenced __hyp_running_vcpu value may be copied verbatim. Later, ctxt_to_vcpu() executes in the EL2 hypervisor context and assumes that field is NULL for guest context. Because the invariant is violated, EL2 may dereference a host-provided pointer. Depending on memory layout, protections, and exploit reliability, this could lead to hypervisor memory corruption, disclosure, control-flow influence, or a denial-of-service crash. The upstream fix clears __hyp_running_vcpu after the copy so EL2 does not consume a stale or host-influenced pointer.

How to fix it

Upgrade to a Linux kernel version that includes the fix for this issue. The corrective change clears __hyp_running_vcpu after copying the host vCPU context into the protected hypervisor vCPU. If vendor-specific fixed versions are not yet listed, track updates from the Linux distribution, device vendor, cloud image provider, or kernel maintainer and apply the first security kernel update that references this KVM arm64 pKVM fix. Where immediate patching is not possible, reduce exposure by disabling pKVM or KVM on affected arm64 systems if operationally feasible, restricting local administrative access, limiting who can create or manage VMs, and isolating virtualization hosts from untrusted users and workloads.

How to confirm the fix worked

Confirm the running kernel contains the upstream/vendor patch by checking vendor advisories, changelogs, or kernel source/package metadata for the fix that clears __hyp_running_vcpu in the KVM arm64 pKVM vCPU flush path. Verify the active kernel after reboot with uname -a or distribution package tools, and ensure systems are not still booted into an older vulnerable kernel. Validate exposure by confirming whether the system is arm64, whether KVM modules are loaded, and whether protected KVM/pKVM is enabled or in use. Functional validation should include starting and stopping representative KVM guests after patching and checking dmesg/journal logs for KVM, hyp, or kernel oops errors.

Typical attack path

  1. Gain high local privileges on an affected arm64 Linux host running KVM/pKVM.
  2. Create or interact with virtual machines using KVM interfaces that exercise protected vCPU context synchronization.
  3. Influence host-side vCPU context so __hyp_running_vcpu contains a non-NULL value before the context is copied.
  4. Trigger flush_hyp_vcpu() so the host context is copied into the hypervisor-private vCPU context.
  5. Cause EL2 code to call ctxt_to_vcpu() on the copied context and dereference the unexpected value.
  6. Abuse the resulting EL2 memory access for hypervisor compromise or crash the host if exploitation is not reliable.

How to detect it

There are no reliable, unique indicators that prove exploitation from normal application logs. Detection should focus on affected-host telemetry and suspicious local privileged activity. Review kernel logs from dmesg, journald, syslog, netconsole, crash dumps, and hypervisor management logs for KVM arm64, pKVM, hyp, EL2, kernel oops, panic, or unexpected reboot events around VM start, stop, migration, or vCPU execution. Correlate these events with privileged local actions such as loading KVM modules, creating VMs, changing VM definitions, running custom KVM tooling, compiling or executing kernel-facing test programs, or unusual sudo/root activity. If kernel crash dumps are available, inspect stack traces for KVM arm64 hyp/pKVM functions including flush_hyp_vcpu(), ctxt_to_vcpu(), and related vCPU context handling. Absence of crashes does not rule out exploitation, because a successful exploit may not emit a distinctive log entry.

What your security team should do

  • Prioritize patching arm64 Linux hosts that run KVM/pKVM or host protected virtual machines.
  • Inventory arm64 virtualization hosts and separate them from x86 systems or non-KVM Linux systems that are not affected by this specific flaw.
  • Restrict root, sudo, hypervisor-management, and VM-creation privileges on affected hosts until patched, because exploitation requires high local privileges.
  • Monitor vendor kernel advisories and apply the first fixed kernel available for each distribution or appliance image.
  • Reboot after kernel updates and verify the fixed kernel is actually running.
  • If patching is delayed, consider disabling pKVM/KVM or moving sensitive workloads away from affected arm64 hosts where feasible.
  • Review recent kernel crash logs, hypervisor faults, and unexpected host reboots for signs of attempted exploitation or instability.
  • Because EPSS is currently low and no KEV listing or public exploit maturity is indicated, treat this as important for exposed arm64 virtualization infrastructure rather than an internet-wide emergency.

The record

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.

Affected packages

Ecosystem Package Introduced Fixed