Vulnerability · Published Sep 25, 2024 · Assigned by XEN
CVE-2024-31145error handling in x86 IOMMU identity mapping
High 7.5
In plain English
A high-severity uncontrolled resource consumption 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.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Certain PCI devices in a system might be assigned Reserved Memory Regions (specified via Reserved Memory Region Reporting, "RMRR") for Intel VT-d or Unity Mapping ranges for AMD-Vi. These are typically used for platform tasks such as legacy USB emulation. Since the precise purpose of these regions is unknown, once a device associated with such a region is active, the mappings of these regions need to remain continuouly accessible by the device. In the logic establishing these mappings, error handling was flawed, resulting in such mappings to potentially remain in place when they should have been removed again. Respective guests would then gain access to memory regions which they aren't supposed to have access to.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.18.3-r0 | ALPINE-CVE-2024-31145 |
| Alpine:v3.21 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31145 |
| Alpine:v3.22 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31145 |
| Alpine:v3.23 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31145 |
| Alpine:v3.24 | xen | 4.19.0-r0 | ALPINE-CVE-2024-31145 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DEBIAN-CVE-2024-31145 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DSA-5836-1 |
| Debian:13 | xen | 4.19.1-1 | DEBIAN-CVE-2024-31145 |
| Debian:14 | xen | 4.19.1-1 | DEBIAN-CVE-2024-31145 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31145 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31145 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2024-31145 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31145 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2024-31145 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H