CVE-2024-31145

error handling in x86 IOMMU identity mapping

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

Workaround:

  • Assigning devices using the vm.cfg file for attachment at boot avoids the vulnerability.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.03%
Affected: Xen Xen
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-31145?
CVE-2024-31145 has been scored as a high severity vulnerability.
How to fix CVE-2024-31145?
As a workaround for remediating CVE-2024-31145: Assigning devices using the vm.cfg file for attachment at boot avoids the vulnerability.
Is CVE-2024-31145 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-31145 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-31145?
CVE-2024-31145 affects Xen Xen.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.