CVE-2024-31145 error handling in x86 IOMMU identity mapping
Flawed error handling in x86 IOMMU identity mapping allows guests to access restricted memory regions, leading to information disclosure.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-31145?
CVE-2024-31145 is a high-severity vulnerability in Xen Xen, published on 25 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-400
Which versions are affected by CVE-2024-31145?
It affects 1 product.
Products include Xen Xen.
How do I fix CVE-2024-31145?
Apply the vendor's patch.
Is CVE-2024-31145 being exploited?
There is no known exploitation of CVE-2024-31145 in the wild and no public exploit code.
Other vulnerabilities in Xen Xen
Sources
Also known as ALPINE-CVE-2024-31145, DEBIAN-CVE-2024-31145, GHSA-38h7-7925-fvwv, UBUNTU-CVE-2024-31145.