Vulnerability · Published Sep 25, 2024 · Assigned by XEN
CVE-2024-45817x86: Deadlock in vlapic_error()
High 7.3
In plain English
A high-severity security flaw in Xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In x86's APIC (Advanced Programmable Interrupt Controller) architecture, error conditions are reported in a status register. Furthermore, the OS can opt to receive an interrupt when a new error occurs. It is possible to configure the error interrupt with an illegal vector, which generates an error when an error interrupt is raised. This case causes Xen to recurse through vlapic_error(). The recursion itself is bounded; errors accumulate in the the status register and only generate an interrupt when a new status bit becomes set. However, the lock protecting this state in Xen will try to be taken recursively, and deadlock.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.18.3-r0 | ALPINE-CVE-2024-45817 |
| Alpine:v3.21 | xen | 4.19.0-r0 | ALPINE-CVE-2024-45817 |
| Alpine:v3.22 | xen | 4.19.0-r0 | ALPINE-CVE-2024-45817 |
| Alpine:v3.23 | xen | 4.19.0-r0 | ALPINE-CVE-2024-45817 |
| Alpine:v3.24 | xen | 4.19.0-r0 | ALPINE-CVE-2024-45817 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DEBIAN-CVE-2024-45817 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DSA-5836-1 |
| Debian:13 | xen | 4.19.1-1 | DEBIAN-CVE-2024-45817 |
| Debian:14 | xen | 4.19.1-1 | DEBIAN-CVE-2024-45817 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-45817 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-45817 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2024-45817 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-45817 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2024-45817 |
Affected products (as reported)
Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L