CVE-2026-100066

KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saved

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saved

OUTSIDE_GUEST_MODE indicates to the rest of KVM that the vcpu has
exited. So far, this is set as soon as we return from the notional
hypervisor (which with VHE is just a function call away).

However, code that uses OUTSIDE_GUEST_MODE as a synchronisation point
relies on the vcpu state to have been written back to the in-memory
structures. Clearly, this is not what is happening.

Move the publication of OUTSIDE_GUEST_MODE to the point where the state
is actually written, and give this write release semantics to ensure the
correct ordering.

Analysis

AI-generated

Technical impact

The vulnerability arises from publishing the OUTSIDE_GUEST_MODE flag before the virtual CPU state has been correctly written back to memory in the KVM arm64 code path. This misordering creates a race condition that allows code relying on OUTSIDE_GUEST_MODE as a synchronization point to observe stale or partially updated state. Based on the description, it is inferred that a malicious guest could potentially exploit this timing window to influence host state or to disrupt proper guest exit handling, which may lead to elevated privileges or kernel instability.

Affected Systems

All Linux systems running the KVM hypervisor on ARM64 hardware that have not yet applied the kernel patch which moves the OUTSIDE_GUEST_MODE publication after the vCPU state write are affected. The CVE does not specify a version range, so any kernel before the fix that implements this ordering is vulnerable.

Risk and Exploitability

No CVSS score or EPSS value is provided, and the vulnerability is not listed in CISA KEV, indicating no known active exploitation at the time of this analysis. Nonetheless, the inherent race condition and potential for kernel state corruption suggest a moderate to high risk if an attacker can reliably trigger the misordered publication. The likely attack vector is within a malicious guest running on KVM, potentially requiring repeated attempts or system load to succeed. The absence of scoring does not diminish the theoretical seriousness of the flaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch relocating the OUTSIDE_GUEST_MODE publication after the state write and ensures proper memory ordering.
  • Reboot the host so the updated kernel image is loaded and active.
  • If a kernel update cannot be applied immediately, disable KVM on affected ARM64 nodes as a containment measure to prevent guest execution from reaching the vulnerable code path.

Generated by OpenCVE AI on November 30, 2026 at 16:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saved OUTSIDE_GUEST_MODE indicates to the rest of KVM that the vcpu has exited. So far, this is set as soon as we return from the notional hypervisor (which with VHE is just a function call away). However, code that uses OUTSIDE_GUEST_MODE as a synchronisation point relies on the vcpu state to have been written back to the in-memory structures. Clearly, this is not what is happening. Move the publication of OUTSIDE_GUEST_MODE to the point where the state is actually written, and give this write release semantics to ensure the correct ordering.
Title KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saved
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM