CVE-2025-58149: Incorrect removal of permissions on PCI device unplug
When passing through PCI devices, the detach logic in libxl won't remove access permissions to any 64bit memory BARs the device might have. As a result a domain can still have access any 64bit memory BAR when such device is no longer assigned to the domain.
For PV domains the permission leak allows the domain itself to map the memory in the page-tables. For HVM it would require a compromised device model or stubdomain to map the leaked memory into the HVM domain p2m.
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-58149?
The severity of CVE-2025-58149 is classified as high due to potential unauthorized access to 64bit memory BARs even after device detachment.
How do I fix CVE-2025-58149?
To fix CVE-2025-58149, update the Xen Hypervisor to a version that includes the patches addressing the permissions management for PCI device BARs.
What is affected by CVE-2025-58149?
CVE-2025-58149 impacts the Xen Project Xen Hypervisor, specifically in its management of PCI devices and memory BARs.
Who is responsible for addressing CVE-2025-58149?
The maintainers of the Xen Project are responsible for providing fixes and security patches for CVE-2025-58149.
What types of domains are affected by CVE-2025-58149?
Both PV (paravirtualized) domains are affected by CVE-2025-58149, which can lead to vulnerabilities in memory access control.