CVE-2024-45817

x86: Deadlock in vlapic_error()

Published Sep 25, 2024 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Not running untrusted HVM or PVH VMs will avoid this vulnerability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5836-1 xen security update
History
Type Values Removed Values Added
CPEs cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00374}

epss

{'score': 0.00287}

Type Values Removed Values Added
Metrics epss

{'score': 0.00345}

epss

{'score': 0.00374}

Type Values Removed Values Added
Weaknesses CWE-209
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title x86: Deadlock in vlapic_error()
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
XEN
Published
Updated
Nov 20, 2024, 9:33 PM
Reserved
Sep 9, 2024, 2:43 PM
Status
Analyzed
Published
Sep 25, 2024, 11:15 AM
Modified
Jun 17, 2026, 7:54 AM