CVE-2025-58149

Incorrect removal of permissions on PCI device unplug

State
Published
Severity
7.5 High
Published
Oct 31, 2025
Updated
Nov 4, 2025
Reserved
Aug 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-672 Operation on a Resource after Expiration or Release

Affected Products

ProductVersions
XenXen
  • consult Xen advisory XSA-476Unknown

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.