Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-46835 EUVD-2023-51001GHSA-c2mm-wq7p-rpm8

x86/AMD: mismatch in IOMMU quarantine page table levels

Published Jan 5, 2024 · Updated Nov 4, 2025 · Assigned by XEN

Description

The current setup of the quarantine page tables assumes that the
quarantine domain (dom_io) has been initialized with an address width
of DEFAULT_DOMAIN_ADDRESS_WIDTH (48) and hence 4 page table levels.

However dom_io being a PV domain gets the AMD-Vi IOMMU page tables
levels based on the maximum (hot pluggable) RAM address, and hence on
systems with no RAM above the 512GB mark only 3 page-table levels are
configured in the IOMMU.

On systems without RAM above the 512GB boundary
amd_iommu_quarantine_init() will setup page tables for the scratch
page with 4 levels, while the IOMMU will be configured to use 3 levels
only, resulting in the last page table directory (PDE) effectively
becoming a page table entry (PTE), and hence a device in quarantine
mode gaining write access to the page destined to be a PDE.

Due to this page table level mismatch, the sink page the device gets
read/write access to is no longer cleared between device assignment,
possibly leading to data leaks.

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.17.2+76-ge1f9cb16e2-1 —
Debian 13 xen 4.17.2+76-ge1f9cb16e2-1 —
Debian 12 xen 4.17.2+76-ge1f9cb16e2-1~deb12u1 —
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 SP5 xen 4.17.2_08-150500.3.15.1 SUSE-SU-2023:4945-1, SUSE-SU-2023:4475-1
SLES 15 SP4 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
SLES 15 SP3 xen 4.14.6_08-150300.3.60.1 SUSE-SU-2023:4466-1
SLES 15 SP2 xen 4.13.5_08-150200.3.83.1 SUSE-SU-2023:4484-1
SLES 15 SP1 xen 4.12.4_42-150100.3.98.1 SUSE-SU-2023:4485-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 xen 4.12.4_42-3.100.1 SUSE-SU-2023:4486-1
SLES for SAP 15 SP3 xen 4.14.6_08-150300.3.60.1 SUSE-SU-2023:4466-1
SLES for SAP 15 SP2 xen 4.13.5_08-150200.3.83.1 SUSE-SU-2023:4484-1
SLES for SAP 15 SP1 xen 4.12.4_42-150100.3.98.1 SUSE-SU-2023:4485-1
SLES for SAP 12 SP5 xen 4.12.4_42-3.100.1 SUSE-SU-2023:4486-1
SLE Micro 5.5 xen 4.17.2_08-150500.3.15.1 SUSE-SU-2023:4945-1, SUSE-SU-2023:4475-1
SLE Micro 5.4 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
SLE Micro 5.3 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
SLE Micro 5.2 xen 4.14.6_08-150300.3.60.1 SUSE-SU-2023:4466-1
SLE Micro 5.1 xen 4.14.6_08-150300.3.60.1 SUSE-SU-2023:4466-1
SLE HPC 15 SP3 xen 4.14.6_08-150300.3.60.1 SUSE-SU-2023:4466-1
SLE HPC 15 SP2 xen 4.13.5_08-150200.3.83.1 SUSE-SU-2023:4484-1
SLE HPC 15 SP1 xen 4.12.4_42-150100.3.98.1 SUSE-SU-2023:4485-1
SUSE Enterprise Storage 7.1 xen 4.14.6_08-150300.3.60.1 SUSE-SU-2023:4466-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.18.0_02-1.1 openSUSE-SU-2024:13442-1
openSUSE Leap 15.5 xen 4.17.2_08-150500.3.15.1 SUSE-SU-2023:4945-1, SUSE-SU-2023:4475-1
openSUSE Leap 15.4 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
openSUSE Leap Micro 5.3 xen 4.16.5_08-150400.4.40.1 SUSE-SU-2023:4476-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.17.2-r4 —
Alpine v3.23 xen 4.17.2-r4 —
Alpine v3.22 xen 4.17.2-r4 —
Alpine v3.21 xen 4.17.2-r4 —
Alpine v3.20 xen 4.17.2-r4 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.17.2-r4 —
Alpine v3.18 xen 4.17.2-r4 —
Alpine v3.17 xen 4.16.5-r4 —
Alpine v3.16 xen 4.16.5-r4 —
Alpine v3.15 xen 4.15.5-r3 —

Advisories 9

References