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.

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

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

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

Affected products (as reported)

VendorProductVersions
Xen Xen see references

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

References