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.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.5%top 54.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20xen4.18.3-r0ALPINE-CVE-2024-45817
Alpine:v3.21xen4.19.0-r0ALPINE-CVE-2024-45817
Alpine:v3.22xen4.19.0-r0ALPINE-CVE-2024-45817
Alpine:v3.23xen4.19.0-r0ALPINE-CVE-2024-45817
Alpine:v3.24xen4.19.0-r0ALPINE-CVE-2024-45817
Debian:12xen4.17.5+23-ga4e5191dc0-1DEBIAN-CVE-2024-45817
Debian:12xen4.17.5+23-ga4e5191dc0-1DSA-5836-1
Debian:13xen4.19.1-1DEBIAN-CVE-2024-45817
Debian:14xen4.19.1-1DEBIAN-CVE-2024-45817
Ubuntu:22.04:LTSxenno fix listedUBUNTU-CVE-2024-45817
Ubuntu:24.04:LTSxenno fix listedUBUNTU-CVE-2024-45817
Ubuntu:25.10xenno fix listedUBUNTU-CVE-2024-45817
Ubuntu:26.04:LTSxenno fix listedUBUNTU-CVE-2024-45817
Ubuntu:26.10xenno fix listedUBUNTU-CVE-2024-45817

Affected products (as reported)

VendorProductVersions
Xen Xen see references

Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References