cve.bz

CVE-2023-46835 xen xen: Out-of-bounds Write

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in xen xen. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-46835 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-46835?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-46835?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-46835 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12xen4.17.2+76-ge1f9cb16e2-1~deb12u1DEBIAN-CVE-2023-46835
Debian13, 14xen4.17.2+76-ge1f9cb16e2-1DEBIAN-CVE-2023-46835
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morexenno fix listedUBUNTU-CVE-2023-46835
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morexen4.14.6_08-150300.3.60.1SUSE-SU-2023:4466-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1xen4.12.4_42-150100.3.98.1SUSE-SU-2023:4485-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2xen4.13.5_08-150200.3.83.1SUSE-SU-2023:4484-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4 and 1 morexen4.16.5_08-150400.4.40.1SUSE-SU-2023:4476-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5xen4.17.2_08-150500.3.15.1SUSE-SU-2023:4475-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5xen4.17.3_02-150500.3.18.1SUSE-SU-2023:4945-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xen4.12.4_42-3.100.1SUSE-SU-2023:4486-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4xen4.16.5_08-150400.4.40.1SUSE-SU-2023:4476-1
openSUSELeap 15.5xen4.17.2_08-150500.3.15.1SUSE-SU-2023:4475-1
openSUSELeap 15.5xen4.17.3_02-150500.3.18.1SUSE-SU-2023:4945-1
openSUSETumbleweedxen4.18.0_02-1.1openSUSE-SU-2024:13442-1
Alpinev3.15xen4.15.5-r3ALPINE-CVE-2023-46835
Alpinev3.16, v3.17xen4.16.5-r4ALPINE-CVE-2023-46835
Alpinev3.18, v3.19, v3.20 and 4 morexen4.17.2-r4ALPINE-CVE-2023-46835

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON