Vulnerability · Published Jul 18, 2024 · Assigned by XEN
CVE-2024-31143double unlock in x86 guest IRQ handling
High 7.5
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 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An optional feature of PCI MSI called "Multiple Message" allows a device to use multiple consecutive interrupt vectors. Unlike for MSI-X, the setting up of these consecutive vectors needs to happen all in one go. In this handling an error path could be taken in different situations, with or without a particular lock held. This error path wrongly releases the lock even when it is not currently held.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.18.3-r0 | ALPINE-CVE-2024-31143 |
| Alpine:v3.21 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31143 |
| Alpine:v3.22 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31143 |
| Alpine:v3.23 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31143 |
| Alpine:v3.24 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31143 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DEBIAN-CVE-2024-31143 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DSA-5836-1 |
| Debian:13 | xen | 4.19.1-1 | DEBIAN-CVE-2024-31143 |
| Debian:14 | xen | 4.19.1-1 | DEBIAN-CVE-2024-31143 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31143 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31143 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2024-31143 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31143 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2024-31143 |
Affected products (as reported)
Weakness: CWE-832 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H