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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

Not doing hot unplug of PCI devices will avoid the vulnerability. Passing through PCI devices to HVM domains only will also limit the impact, as an attacker would require another compromised component to exploit it.

History

Fri, 31 Oct 2025 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Oct 2025 12:00:00 +0000

Type Values Removed Values Added
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.
Title Incorrect removal of permissions on PCI device unplug
References

cve-icon MITRE

Status: PUBLISHED

Assigner: XEN

Published:

Updated: 2025-10-31T17:47:51.252Z

Reserved: 2025-08-26T06:48:41.443Z

Link: CVE-2025-58149

cve-icon Vulnrichment

Updated: 2025-10-31T17:47:44.176Z

cve-icon NVD

Status : Received

Published: 2025-10-31T12:15:35.143

Modified: 2025-10-31T18:15:33.333

Link: CVE-2025-58149

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.