CVE-2024-31145

error handling in x86 IOMMU identity mapping

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

Remediation

Vendor Workaround

Assigning devices using the vm.cfg file for attachment at boot avoids the 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.00045}

epss

{'score': 0.00038}

Type Values Removed Values Added
First Time appeared Xen
Xen xen
Weaknesses CWE-400
CPEs cpe:2.3:o:xen:xen:-:*:*:*:*:*:*:*
Vendors & Products Xen
Xen xen
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
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.
Title error handling in x86 IOMMU identity mapping
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
XEN
Published
Updated
Sep 25, 2024, 1:29 PM
Reserved
Mar 28, 2024, 6:14 PM
Status
Analyzed
Published
Sep 25, 2024, 11:15 AM
Modified
Jun 17, 2026, 7:27 AM