Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Move IN_GUEST_MODE ahead of state being loaded IN_GUEST_MODE is advertised too late, when state has already been moved onto CPU registers and cannot be observed by another CPU anymore. Move the IN_GUEST_MODE publication ahead of the state being loaded, and immediately check for pending request. This ensures that there is no window of opportunity for another CPU to observe OUTSIDE_GUEST_MODE and yet for state to be loaded. This also simplifies the "state rollback", which solely amounts to synchronising the timer when no irqchip is present.
Affected products and versions
References
- git.kernel.org/stable/c/26bc56b6558489891549b7a5c2a51fbfd102dc70
- git.kernel.org/stable/c/ad3402197df6da2241a581b822329d3c98905e62
- git.kernel.org/stable/c/d04412a2387fe5ea9e8f73c864487bde0a35bf91
- git.kernel.org/stable/c/f8f2aa545c0273800fa24bfdab33684d0f1fadeb
- git.kernel.org/stable/c/1df93e75cd401254d291fd47e5a1b14e1bb0fd01
- git.kernel.org/stable/c/cbf52d6ce1d9861b15adc8a5aca90791361c6415
- git.kernel.org/stable/c/38f27e0f70f8676ab1ed05c89de61c7d0cdcf52a
- git.kernel.org/stable/c/22b6557ad05bf05c73246f62c19af3e04017270e
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.