CVE-2018-12891
An issue was discovered in Xen through 4.10.x. Certain PV MMU operations may take a long time to process. For that reason Xen explicitly checks for the need to preempt the current vCPU at certain points. A few rarely taken code paths did bypass such checks. By suitably enforcing the conditions through its own page table contents, a malicious guest may cause such bypasses to be used for an unbounded number of iterations. A malicious or buggy PV guest may cause a Denial of Service (DoS) affecting the entire host. Specifically, it may prevent use of a physical CPU for an indeterminate period of time. All Xen versions from 3.4 onwards are vulnerable. Xen versions 3.3 and earlier are vulnerable to an even wider class of attacks, due to them lacking preemption checks altogether in the affected code paths. Only x86 systems are affected. ARM systems are not affected. Only multi-vCPU x86 PV guests can leverage the vulnerability. x86 HVM or PVH guests as well as x86 single-vCPU PV ones cannot leverage the vulnerability.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xen | Fix pending | UBUNTU-CVE-2018-12891 | |
| Ubuntu 16.04 | xen | Fix pending | UBUNTU-CVE-2018-12891 | |
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 | DEBIAN-CVE-2018-12891 |
| Debian 13 | xen | Fixed | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 | DEBIAN-CVE-2018-12891 |
| Debian 12 | xen | Fixed | 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9 | DEBIAN-CVE-2018-12891 |
| Red Hat Enterprise Linux 5 | xen | Will not fix Will not fix | ||
| Alpine Linux 3.24 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.23 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.22 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.21 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.20 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.19 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.18 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.17 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.16 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.15 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.14 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.13 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.12 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.11 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.10 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.9 | xen | Fixed | 4.11.0-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.8 | xen | Fixed | 4.10.1-r3 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.7 | xen | Fixed | 4.9.3-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.6 | xen | Fixed | 4.8.4-r0 | ALPINE-CVE-2018-12891 |
| Alpine Linux 3.5 | xen | Fixed | 4.7.6-r0 | ALPINE-CVE-2018-12891 |
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:
- https://www.debian.org/security/2018/dsa-4236 (vendor-advisory)
- https://security.gentoo.org/glsa/201810-06 (vendor-advisory)
References
- https://www.debian.org/security/2018/dsa-4236
- https://support.citrix.com/article/CTX235748
- https://security.gentoo.org/glsa/201810-06
- https://lists.debian.org/debian-lts-announce/2018/11/msg00013.html
- http://xenbits.xen.org/xsa/advisory-264.html
- http://www.securitytracker.com/id/1041201
- http://www.openwall.com/lists/oss-security/2018/06/27/10
- http://www.securityfocus.com/bid/104570
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.