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.
Metrics
Affected Vendors & Products
No advisories yet.
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.
| Link | Providers | 
|---|---|
| https://xenbits.xenproject.org/xsa/advisory-476.html |     | 
Fri, 31 Oct 2025 18:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Weaknesses | CWE-284 | |
| Metrics | cvssV3_1 
 
 | 
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 |  | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: XEN
Published:
Updated: 2025-10-31T17:47:51.252Z
Reserved: 2025-08-26T06:48:41.443Z
Link: CVE-2025-58149
 Vulnrichment
                        Vulnrichment
                    Updated: 2025-10-31T17:47:44.176Z
 NVD
                        NVD
                    Status : Received
Published: 2025-10-31T12:15:35.143
Modified: 2025-10-31T18:15:33.333
Link: CVE-2025-58149
 Redhat
                        Redhat
                    No data.
 OpenCVE Enrichment
                        OpenCVE Enrichment
                    No data.