# CVE-2023-46835: x86/AMD: mismatch in IOMMU quarantine page table levels

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2024-01-05T16:34:49.531Z
- Modified: 2026-06-17T06:31:43.353Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Xen Xen: consult Xen advisory XSA-445

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://xenbits.xenproject.org/xsa/advisory-445.html> (patch, vendor-advisory)
- <http://xenbits.xen.org/xsa/advisory-445.html>

## Sources

- CVE List: [CVE-2023-46835](https://www.cve.org/CVERecord?id=CVE-2023-46835), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2023-46835](https://nvd.nist.gov/vuln/detail/CVE-2023-46835), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46835 · Whole record: https://cve.day/CVE-2023-46835.json · Rebuilt by cve.day 2026-11-25T22:58:31.914Z
