xen: The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the (virtual) VGA is in "standard...
CVE-2024-45818 is fixed in xen on 1 platform, first by SUSE-SU-2024:4163-1, released December 4, 2024. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| xen · Debian 12.15 (bookworm) | 4.17.5+23-ga4e5191dc0-1 | DEBIAN-CVE-2024-45818 | Dec 19, 2024 |
| xen · Debian 13.5 (trixie) | 4.19.1-1 | DEBIAN-CVE-2024-45818 | Dec 19, 2024 |
| xen · Debian 14 | 4.19.1-1 | DEBIAN-CVE-2024-45818 | Dec 19, 2024 |
| xen · opensuse-leap 15.6 | 4.18.3_06-150600.3.12.1 | SUSE-SU-2024:4163-1 | Dec 4, 2024 |
| xen · sles 15.6 | 4.18.3_06-150600.3.12.1 | SUSE-SU-2024:4163-1 | Dec 4, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.