CVE-2025-58149 — Operation on a Resource after Expiration or Release in XEN
Severity
7.5HIGHNVD
EPSS
0.1%
top 82.20%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
1
Timeline
PublishedOct 31
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6
Patches
🔴Vulnerability Details
4OSV▶
CVE-2025-58149: When passing through PCI devices, the detach logic in libxl won't remove access permissions to any 64bit memory BARs the device might have↗2025-10-31
OSV▶
CVE-2025-58149: When passing through PCI devices, the detach logic in libxl won't remove
access permissions to any 64bit memory BARs the device might have↗2025-10-31
GHSA▶
GHSA-38qg-7h9q-7h29: When passing through PCI devices, the detach logic in libxl won't remove
access permissions to any 64bit memory BARs the device might have↗2025-10-31
📋Vendor Advisories
1Debian▶
CVE-2025-58149: xen - When passing through PCI devices, the detach logic in libxl won't remove access ...↗2025