CVEfocus › CVE database › CVE-2019-18423

CVE-2019-18423

CVSS 8.8 HighEPSS 2.1% (higher than 82% of CVEs)Published 2019-10-31Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
3Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04xenNot affected
vulnerable_code_not_present
Ubuntu 25.10xenNot affected
vulnerable_code_not_present
Ubuntu 24.04xenNot affected
vulnerable_code_not_present
Ubuntu 22.04xenNot affected
vulnerable_code_not_present
Ubuntu 20.04xenNot affected
vulnerable_code_not_present
Ubuntu 18.04xenFix pendingUBUNTU-CVE-2019-18423
Ubuntu 16.04xenFix pendingUBUNTU-CVE-2019-18423
Ubuntu 14.04xenFix pending
Debian 14xenFixed4.11.3+24-g14b62ab3e5-1DEBIAN-CVE-2019-18423
Debian 13xenFixed4.11.3+24-g14b62ab3e5-1DEBIAN-CVE-2019-18423
Debian 12xenFixed4.11.3+24-g14b62ab3e5-1DEBIAN-CVE-2019-18423
Red Hat Enterprise Linux 5kernel-xenNot affected
Alpine Linux 3.24xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.23xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.22xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.21xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.20xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.19xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.18xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.17xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.16xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.15xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.14xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.13xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.12xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.11xenFixed4.13.0-r0ALPINE-CVE-2019-18423
Alpine Linux 3.10xenFixed4.12.1-r1ALPINE-CVE-2019-18423
Alpine Linux 3.9xenFixed4.11.2-r1ALPINE-CVE-2019-18423
Alpine Linux 3.8xenFixed4.10.4-r1ALPINE-CVE-2019-18423

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.