CVE-2024-45818
Fixed in a distro release EPSS <1%CVSS 6.5
The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the (virtual) VGA is in "standard" mode. Locking involved there has an unusual discipline, leaving a lock acquired past the return from the function that acquired it. This behavior results in a problem when emulating an instruction with two memory accesses, both of which touch VGA memory (plus some further constraints which aren't relevant here). When emulating the 2nd access, the lock that is already being held would be attempted to be re-acquired, resulting in a deadlock. This deadlock was already found when the code was first introduced, but was analysed incorrectly and the fix was incomplete. Analysis in light of the new finding cannot find a way to make the existing locking discipline work. In staging, this logic has all been removed because it was discovered to be accidentally disabled since Xen 4.7. Therefore, we are fixing the locking problem by backporting the removal of most of the feature. Note that even with the feature disabled, the lock would still be acquired for any accesses to the VGA MMIO region.
Products: xen
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.17 | xen | 4.16.6-r3 |
| Alpine 3.18 | xen | 4.17.5-r2 |
| Alpine 3.19 | xen | 4.18.3-r2 |
| Alpine 3.20 | xen | 4.18.3-r2 |
| Alpine 3.21 | xen | 4.19.0-r1 |
| Alpine 3.22 | xen | 4.19.0-r1 |
| Alpine 3.23 | xen | 4.19.0-r1 |
| Alpine 3.24 | xen | 4.19.0-r1 |
| Debian 12 | xen | 4.17.5+23-ga4e5191dc0-1 |
| Debian 13 | xen | 4.19.1-1 |
| Debian 14 | xen | 4.19.1-1 |
| SUSE Enterprise Storage 7.1 | xen | 4.14.6_22-150300.3.84.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | xen | 4.13.5_16-150200.3.99.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | xen | 4.14.6_22-150300.3.84.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Linux Enterprise Micro 5.1 | xen | 4.14.6_22-150300.3.84.1 |
| SUSE Linux Enterprise Micro 5.2 | xen | 4.14.6_22-150300.3.84.1 |
| SUSE Linux Enterprise Micro 5.3 | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Linux Enterprise Micro 5.4 | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Linux Enterprise Micro 5.5 | xen | 4.17.5_06-150500.3.42.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | xen | 4.17.5_06-150500.3.42.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | xen | 4.18.3_06-150600.3.12.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | xen | 4.17.5_06-150500.3.42.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | xen | 4.18.3_06-150600.3.12.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | xen | 4.12.4_58-3.124.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | xen | 4.13.5_16-150200.3.99.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | xen | 4.14.6_22-150300.3.84.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | xen | 4.12.4_58-3.124.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | xen | 4.13.5_16-150200.3.99.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | xen | 4.14.6_22-150300.3.84.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Manager Proxy 4.3 | xen | 4.16.6_06-150400.4.65.1 |
| SUSE Manager Server 4.3 | xen | 4.16.6_06-150400.4.65.1 |
| Ubuntu 16.04 LTS | xen | no fix |
| Ubuntu 18.04 LTS | xen | no fix |
| Ubuntu 20.04 LTS | xen | no fix |
| Ubuntu 22.04 LTS | xen | no fix |
| Ubuntu 24.04 LTS | xen | no fix |
| Ubuntu 25.10 | xen | no fix |
| Ubuntu 26.04 LTS | xen | no fix |
| Ubuntu 26.10 | xen | no fix |
| openSUSE Leap 15.5 | xen | 4.17.5_06-150500.3.42.1 |
| openSUSE Leap 15.6 | xen | 4.18.3_06-150600.3.12.1 |
| openSUSE Leap Micro 5.5 | xen | 4.17.5_06-150500.3.42.1 |
| openSUSE Tumbleweed | xen | 4.19.0_06-1.1 |