Skip to content
OpenAdvisories
Unscored CVE-2019-19578 EUVD-2019-9195GHSA-xm4c-wwh2-mcv8

An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to cause a denial of service via degenerate chains of linear p…

Published Dec 11, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in Xen through 4.12.x allowing x86 PV guest OS users to cause a denial of service via degenerate chains of linear pagetables, because of an incorrect fix for CVE-2017-15595. "Linear pagetables" is a technique which involves either pointing a pagetable at itself, or to another pagetable of the same or higher level. Xen has limited support for linear pagetables: A page may either point to itself, or point to another pagetable of the same level (i.e., L2 to L2, L3 to L3, and so on). XSA-240 introduced an additional restriction that limited the "depth" of such chains by allowing pages to either *point to* other pages of the same level, or *be pointed to* by other pages of the same level, but not both. To implement this, we keep track of the number of outstanding times a page points to or is pointed to another page table, to prevent both from happening at the same time. Unfortunately, the original commit introducing this reset this count when resuming validation of a partially-validated pagetable, incorrectly dropping some "linear_pt_entry" counts. If an attacker could engineer such a situation to occur, they might be able to make loops or other arbitrary chains of linear pagetables, as described in XSA-240. A malicious or buggy PV guest may cause the hypervisor to crash, resulting in Denial of Service (DoS) affecting the entire host. Privilege escalation and information leaks cannot be excluded. All versions of Xen are vulnerable. Only x86 systems are affected. Arm systems are not affected. Only x86 PV guests can leverage the vulnerability. x86 HVM and PVH guests cannot leverage the vulnerability. Only systems which have enabled linear pagetables are vulnerable. Systems which have disabled linear pagetables, either by selecting CONFIG_PV_LINEAR_PT=n when building the hypervisor, or adding pv-linear-pt=false on the command-line, are not vulnerable.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xen 4.11.3+24-g14b62ab3e5-1 —
Debian 13 xen 4.11.3+24-g14b62ab3e5-1 —
Debian 12 xen 4.11.3+24-g14b62ab3e5-1 —
Debian 10 xen 4.11.3+24-g14b62ab3e5-1~deb10u1 DSA-4602-1
Debian 9 xen 4.8.5.final+shim4.10.4-1+deb9u12 DSA-4602-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP1 xen 4.12.1_06-3.9.1 SUSE-SU-2019:3338-1
SLES 15 xen 4.10.4_08-3.28.1 SUSE-SU-2019:3309-1
SLES 12 SP5 xen 4.12.1_10-3.8.1 SUSE-SU-2019:3296-1
SLES 12 SP4 xen 4.11.3_02-2.20.1 SUSE-SU-2019:3310-1
SLES 12 SP3 xen 4.9.4_06-3.59.1 SUSE-SU-2020:1630-1, SUSE-SU-2019:3297-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 xen 4.7.6_06-43.59.1 SUSE-SU-2020:0334-1
SLES 12 SP1 xen 4.5.5_28-22.64.1 SUSE-SU-2020:0388-1
SLES 11 SP4 xen 4.4.4_42-61.52.1 SUSE-SU-2020:14444-1
SLES for SAP 12 SP5 xen 4.12.1_10-3.8.1 SUSE-SU-2019:3296-1
SLES for SAP 12 SP4 xen 4.11.3_02-2.20.1 SUSE-SU-2019:3310-1
SLES for SAP 12 SP3 xen 4.9.4_06-3.59.1 SUSE-SU-2020:1630-1, SUSE-SU-2019:3297-1
SLES for SAP 12 SP2 xen 4.7.6_06-43.59.1 SUSE-SU-2020:0334-1
SLES for SAP 12 SP1 xen 4.5.5_28-22.64.1 SUSE-SU-2020:0388-1
SUSE OpenStack Cloud Crowbar 8 xen 4.9.4_06-3.59.1 SUSE-SU-2020:1630-1, SUSE-SU-2019:3297-1
SUSE OpenStack Cloud 8 xen 4.9.4_06-3.59.1 SUSE-SU-2020:1630-1, SUSE-SU-2019:3297-1
SUSE OpenStack Cloud 7 xen 4.7.6_06-43.59.1 SUSE-SU-2020:0334-1
SUSE HPE Helion OpenStack 8 xen 4.9.4_06-3.59.1 SUSE-SU-2020:1630-1, SUSE-SU-2019:3297-1
SUSE Enterprise Storage 5 xen 4.9.4_06-3.59.1 SUSE-SU-2020:1630-1, SUSE-SU-2019:3297-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 xen 4.12.1_06-lp151.2.9.1 openSUSE-SU-2020:0011-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.13.0-r0 —
Alpine v3.23 xen 4.13.0-r0 —
Alpine v3.22 xen 4.13.0-r0 —
Alpine v3.21 xen 4.13.0-r0 —
Alpine v3.20 xen 4.13.0-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.13.0-r0 —
Alpine v3.18 xen 4.13.0-r0 —
Alpine v3.17 xen 4.13.0-r0 —
Alpine v3.16 xen 4.13.0-r0 —
Alpine v3.15 xen 4.13.0-r0 —
Alpine v3.14 xen 4.13.0-r0 —
Alpine v3.13 xen 4.13.0-r0 —
Alpine v3.12 xen 4.13.0-r0 —
Alpine v3.11 xen 4.13.0-r0 —
Alpine v3.10 xen 4.12.2-r0 —
Alpine v3.9 xen 4.11.3-r1 —
Alpine v3.8 xen 4.10.4-r2 —

Advisories 11

References