Skip to content

CVE-2019-19578 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. "L...

HighCVSS 8.8 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

24 packages: 21 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/xen(Ubuntu 16.04) = 4.5.1-0ubuntu1; = 4.5.1-0ubuntu2; = 4.6.0-1ubuntu1; = 4.6.0-1ubuntu2 +9 more No fix listed No fix yet
ubuntu/xen(Ubuntu 18.04) = 4.9.0-0ubuntu3; = 4.9.0-0ubuntu4; = 4.9.2-0ubuntu1; All versions No fix listed No fix yet
alpine/xen(Alpine v3.10) < 4.12.2-r0 4.12.2-r0 Fixed
alpine/xen(Alpine v3.11) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.12) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.13) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.14) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.15) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.16) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.17) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.18) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.19) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.20) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.21) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.22) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.23) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.24) < 4.13.0-r0 4.13.0-r0 Fixed
alpine/xen(Alpine v3.8) < 4.10.4-r2 4.10.4-r2 Fixed
alpine/xen(Alpine v3.9) < 4.11.3-r1 4.11.3-r1 Fixed
debian/xen(Debian 12) < 4.11.3+24-g14b62ab3e5-1 4.11.3+24-g14b62ab3e5-1 Fixed
debian/xen(Debian 13) < 4.11.3+24-g14b62ab3e5-1 4.11.3+24-g14b62ab3e5-1 Fixed
debian/xen(Debian 14) < 4.11.3+24-g14b62ab3e5-1 4.11.3+24-g14b62ab3e5-1 Fixed
Xen <= 4.12.1 after 4.12.1 Fixed
fedoraproject fedora = 31 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/xen(Debian:12) < 4.11.3+24-g14b62ab3e5-1 4.11.3+24-g14b62ab3e5-1
debian/xen(Debian:13) < 4.11.3+24-g14b62ab3e5-1 4.11.3+24-g14b62ab3e5-1
debian/xen(Debian:14) < 4.11.3+24-g14b62ab3e5-1 4.11.3+24-g14b62ab3e5-1
Xen <= 4.12.1 No fix listed
fedoraproject fedora = 31 No fix listed
alpine/xen(Alpine:v3.10) < 4.12.2-r0 4.12.2-r0
alpine/xen(Alpine:v3.11) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.12) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.13) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.14) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.15) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.16) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.17) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.18) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.19) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.20) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.21) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.22) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.23) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.24) < 4.13.0-r0 4.13.0-r0
alpine/xen(Alpine:v3.8) < 4.10.4-r2 4.10.4-r2
alpine/xen(Alpine:v3.9) < 4.11.3-r1 4.11.3-r1
ubuntu/xen(Ubuntu:16.04) All versions No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.5.1-0ubuntu1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.5.1-0ubuntu2 No fix listed
Show 14 more
ProductAffected versionsFixed in
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4.1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4.2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4.3 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1.1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1.2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1.4 No fix listed
ubuntu/xen(Ubuntu:18.04) All versions No fix listed
ubuntu/xen(Ubuntu:18.04) = 4.9.0-0ubuntu3 No fix listed
ubuntu/xen(Ubuntu:18.04) = 4.9.0-0ubuntu4 No fix listed
ubuntu/xen(Ubuntu:18.04) = 4.9.2-0ubuntu1 No fix listed

References