KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saved

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1c8c633033bd2bd162daec5c7c5be4247ee0fe11 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2822c4df4ca2836994e1f1dd4189cb1447f0d9f3 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0a9eae2b650037f7b77cf8dcb712a2f1c487e8b1 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6a01c65cdde47fe5a1906e3b7868a478cb823199 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4c5b129a54498f18d9171e58dbc15e4800387274 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before da4d9aecba3ce30f3e5b1ff26fc905d2c819a754 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1d4ce2901f1e25b06d447c0b02d105d6dd3550d8 Affectedbefore 5.15.226 Affectedbefore 6.1.193 Affectedbefore 6.6.163 Affectedbefore 6.12.117 Affectedbefore 6.18.63 Affectedbefore 7.3.4 Affected
Linux Linux5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.