cve.bz

CVE-2019-18421 Race Condition

7.5 highEPSS 1.7%Fix available

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

On this page
An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to gain host OS privileges by leveraging race conditions in pagetable promotion and demotion operations. There are issues with restartable PV type change operations. To avoid using shadow pagetables for PV guests, Xen exposes the actual hardware pagetables to the guest. In order to prevent the guest from modifying these page tables directly, Xen keeps track of how pages are used using a type system; pages must be "promoted" before being used as a pagetable, and "demoted" before being used for any other type. Xen also allows for "recursive" promotions: i.e., an operating system promoting a page to an L4 pagetable may end up causing pages to be promoted to L3s, which may in turn cause pages to be promoted to L2s, and so on. These operations may take an arbitrarily large amount of time, and so must be re-startable. Unfortunately, making recursive pagetable promotion and demotion operations restartable is incredibly complicated, and the code contains several races which, if triggered, can cause Xen to drop or retain extra type counts, potentially allowing guests to get write access to in-use pagetables. A malicious PV guest administrator may be able to escalate their privilege to that of the host. All x86 systems with untrusted PV guests are vulnerable. HVM and PVH guests cannot exercise this vulnerability.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
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-18421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-18421?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-18421?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-18421 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:xenthrough 4.12.1
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora29
fedoraproject:fedora30
fedoraproject:fedora31
opensuse:leap15.0

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-18421
Ubuntu16.04:LTS, 18.04:LTSxenno fix listedUBUNTU-CVE-2019-18421
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.2_04-2.17.1SUSE-SU-2019:2962-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15xen4.10.4_06-3.25.1SUSE-SU-2019:2960-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
SUSELinux Enterprise Point of Sale 11 SP3xen4.2.5_22-45.36.1SUSE-SU-2020:14448-1
SUSELinux Enterprise Server 11 SP4-LTSSxen4.4.4_42-61.52.1SUSE-SU-2020:14444-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1xen4.5.5_28-22.64.1SUSE-SU-2020:0388-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morexen4.7.6_06-43.59.1SUSE-SU-2020:0334-1
openSUSELeap 15.0xen4.10.4_06-lp150.2.25.1openSUSE-SU-2019:2506-1
Alpinev3.8xen4.10.4-r1ALPINE-CVE-2019-18421
Alpinev3.9xen4.11.2-r1ALPINE-CVE-2019-18421
Alpinev3.10xen4.12.1-r1ALPINE-CVE-2019-18421
Alpinev3.11, v3.12, v3.13 and 11 morexen4.13.0-r0ALPINE-CVE-2019-18421

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.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernel-xenOut of support scope

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-18421.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON