cve.bz

CVE-2019-18423 Off-by-one Error

8.8 highEPSS 2.1%Fix available

High (8.8). EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Xen through 4.12.x allowing ARM guest OS users to cause a denial of service via a XENMEM_add_to_physmap hypercall. p2m->max_mapped_gfn is used by the functions p2m_resolve_translation_fault() and p2m_get_entry() to sanity check guest physical frame. The rest of the code in the two functions will assume that there is a valid root table and check that with BUG_ON(). The function p2m_get_root_pointer() will ignore the unused top bits of a guest physical frame. This means that the function p2m_set_entry() will alias the frame. However, p2m->max_mapped_gfn will be updated using the original frame. It would be possible to set p2m->max_mapped_gfn high enough to cover a frame that would lead p2m_get_root_pointer() to return NULL in p2m_get_entry() and p2m_resolve_translation_fault(). Additionally, the sanity check on p2m->max_mapped_gfn is off-by-one allowing "highest mapped + 1" to be considered valid. However, p2m_get_root_pointer() will return NULL. The problem could be triggered with a specially crafted hypercall XENMEM_add_to_physmap{, _batch} followed by an access to an address (via hypercall or direct access) that passes the sanity check but cause p2m_get_root_pointer() to return NULL. A malicious guest administrator may cause a hypervisor crash, resulting in a Denial of Service (DoS). Xen version 4.8 and newer are vulnerable. Only Arm systems are vulnerable. x86 systems are not affected.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-193 Off-by-one Error
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-2019-18423 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-18423?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-18423?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-2019-18423 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

Versions

From the NVD's CPE matches.

ProductAffected
xen:xenfrom 4.8 through 4.12.1
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora29
fedoraproject:fedora30
fedoraproject:fedora31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9xen4.8.5.final+shim4.10.4-1+deb9u12DSA-4602-1
Debian10xen4.11.3+24-g14b62ab3e5-1~deb10u1DSA-4602-1
Debian12, 13, 14xen4.11.3+24-g14b62ab3e5-1DEBIAN-CVE-2019-18423
Ubuntu16.04:LTS, 18.04:LTSxenno fix listedUBUNTU-CVE-2019-18423
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morexen4.9.4_06-3.59.1SUSE-SU-2019:3297-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 morexen4.11.3_02-2.20.1SUSE-SU-2019:3310-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15xen4.10.4_08-3.28.1SUSE-SU-2019:3309-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1xen4.12.1_04-3.6.1SUSE-SU-2019:2961-1
Alpinev3.8xen4.10.4-r1ALPINE-CVE-2019-18423
Alpinev3.9xen4.11.2-r1ALPINE-CVE-2019-18423
Alpinev3.10xen4.12.1-r1ALPINE-CVE-2019-18423
Alpinev3.11, v3.12, v3.13 and 11 morexen4.13.0-r0ALPINE-CVE-2019-18423

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 · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernel-xenNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-18423.

References

Check your stackJSON