Skip to content
Heist/ feed
Back to feed
MediumFix available

xen — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-46835

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.

Products
xen
Affected versions
4.17.1+2-gb773c48e36-1, 4.17.2+55-g0b56bed864-1, 4.17.2-1
Fixed versions
4.17.2+76-ge1f9cb16e2-1, 4.17.2+76-ge1f9cb16e2-1~deb12u1
CVEs
CVE-2023-46835
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:11 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-46835

core-osv · Original source

Published 5 Jan 2024, 17:15 UTC

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.

osv:DEBIAN-CVE-2023-46835

xen

Fixed versions: 4.17.2+76-ge1f9cb16e2-1~deb12u1

xen

Fixed versions: 4.17.2+76-ge1f9cb16e2-1

xen

Fixed versions: 4.17.2+76-ge1f9cb16e2-1

Complete source record
{
  "id": "b00cd7cb7523815bbe0de45016f519e0d3792a6b8d3e82adccebe40da756476b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-46835",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-46835",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-46835",
    "products": [
      {
        "name": {
          "value": "xen",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.17.2+76-ge1f9cb16e2-1~deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.17.1+2-gb773c48e36-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.17.2+55-g0b56bed864-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.17.2-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xen",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.17.2+76-ge1f9cb16e2-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "xen",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.17.2+76-ge1f9cb16e2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2023-46835",
      "aliases": [
        "DEBIAN-CVE-2023-46835"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.17.2+76-ge1f9cb16e2-1~deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "xen",
            "purl": "pkg:deb/debian/xen?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "4.17.1+2-gb773c48e36-1",
            "4.17.2+55-g0b56bed864-1",
            "4.17.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46835.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.17.2+76-ge1f9cb16e2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xen",
            "purl": "pkg:deb/debian/xen?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46835.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.17.2+76-ge1f9cb16e2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "xen",
            "purl": "pkg:deb/debian/xen?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46835.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:49.553272300Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-46835"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-46835"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-46835",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456925,
  "published_at": "2024-01-05T17:15:11.147+00:00"
}