Skip to content
OpenAdvisories
High · 7.5 CVE-2025-58149 EUVD-2025-37346GHSA-38qg-7h9q-7h29

Incorrect removal of permissions on PCI device unplug

Published Oct 31, 2025 · Updated Nov 4, 2025 · Assigned by XEN

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.

Affected products

VendorProductAffectedFixed
Xen Xen — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xen 4.20.2+7-g1badcf5035-1 —
Debian 13 xen 4.20.2+7-g1badcf5035-0+deb13u1 DSA-6068-1
Debian 12 xen 4.17.5+72-g01140da4e8-1 DSA-6068-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xen No fix yet —
Ubuntu 26.04 LTS xen No fix yet —
Ubuntu 25.10 xen No fix yet —
Ubuntu 24.04 LTS xen No fix yet —
Ubuntu 22.04 LTS xen No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xen No fix yet —
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 xen 4.20.2_02-150700.3.19.1 SUSE-SU-2025:4419-1
SLES 15 SP6 xen 4.18.5_08-150600.3.34.2 SUSE-SU-2026:0012-1
SLES 12 SP5 xen 4.12.4_64-3.137.1 SUSE-SU-2026:0328-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 xen 4.18.5_08-150600.3.34.2 SUSE-SU-2026:0012-1
SLE Micro 5.5 xen 4.17.6_02-150500.3.56.1 SUSE-SU-2025:4490-1
SLE Micro 5.4 xen 4.16.7_06-150400.4.78.1 SUSE-SU-2026:0394-1
SLE Micro 5.3 xen 4.16.7_06-150400.4.78.1 SUSE-SU-2026:0394-1
SLE Micro 5.2 xen 4.14.6_28-150300.3.94.1 SUSE-SU-2026:0303-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.20.1_08-1.1 openSUSE-SU-2025:15719-1
openSUSE Leap 15.6 xen 4.18.5_08-150600.3.34.2 SUSE-SU-2026:0012-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.20.1-r2 —
Alpine v3.23 xen 4.20.1-r2 —
Alpine v3.22 xen 4.20.1-r2 —
Alpine v3.21 xen 4.19.3-r2 —
Alpine v3.20 xen 4.18.5-r3 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.18.5-r3 —

Advisories 9

References