Bugzilla – Bug 1070160
VUL-0: CVE-2017-17564: xen: improper x86 shadow mode refcount error handling (XSA-250)
Last modified: 2021-01-21 18:19:54 UTC
Created attachment 750406 [details] Upstream patches Xen Security Advisory XSA-250 improper x86 shadow mode refcount error handling *** EMBARGOED UNTIL 2017-12-12 12:00 UTC *** ISSUE DESCRIPTION ================= Pages being used to run x86 guests in shadow mode are reference counted to track their uses. When another reference cannot be acquired, the corresponding page table entry must not be inserted. Due to incorrect error handling, this constraint could be violated. IMPACT ====== A malicious or buggy guest may cause a hypervisor crash, resulting in a Denial of Service (DoS) affecting the entire host, or cause hypervisor memory corruption. We cannot rule out a guest being able to escalate its privilege. VULNERABLE SYSTEMS ================== All Xen versions are affected. x86 systems are vulnerable. ARM systems are not vulnerable. Only guests run in shadow mode can exploit the vulnerability. PV guests typically only run in shadow mode during live migration, as well as for features like VM snapshot. Note that save / restore does *not* use shadow mode, and so does not expose this vulnerability. Some downstreams also include a "non-live migration" feature, which also does not use shadow mode (and thus does not expose this vulnerability). HVM guests run in shadow mode on hardware without HAP support, or when HAP is disabled (globally or in the VM configuration file). Live migration does not affect an HVM guest's use of shadow mode. MITIGATION ========== For HVM guest explicitly configured to use shadow paging (e.g. via the `hap=0' xl domain configuration file parameter), changing to HAP (e.g. by setting `hap=1') will avoid exposing the vulnerability to those guests. HAP is the default (in upstream Xen), where the hardware supports it; so this mitigation is only applicable if HAP has been disabled by configuration. For PV guests, avoiding their live migration avoids the vulnerability. RESOLUTION ========== Applying the appropriate attached patch resolves this issue. xsa250.patch xen-unstable, Xen 4.9.x ... 4.6.x xsa250-4.5.patch Xen 4.5.x $ sha256sum xsa250* adf4d8242dbddb4ec52fe1effc1f8b233d33d8d6a59c1bb677dcc6e2ed2bf711 xsa250.patch d123a58308db606185c4e48dcf4a114ac29bb988ffc0eeb04ded213ec474e0f2 xsa250-4.5.patch
public
CVE-2017-17564 was assigned to this issue.
SUSE-SU-2018:0438-1: An update that solves 10 vulnerabilities and has three fixes is now available. Category: security (important) Bug References: 1027519,1035442,1051729,1061081,1067317,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180 CVE References: CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2018-5683 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP3 (src): xen-4.9.1_08-3.26.1 SUSE Linux Enterprise Server 12-SP3 (src): xen-4.9.1_08-3.26.1 SUSE Linux Enterprise Desktop 12-SP3 (src): xen-4.9.1_08-3.26.1 SUSE CaaS Platform ALL (src): xen-4.9.1_08-3.26.1
openSUSE-SU-2018:0459-1: An update that solves 10 vulnerabilities and has three fixes is now available. Category: security (important) Bug References: 1027519,1035442,1051729,1061081,1067317,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180 CVE References: CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2018-5683 Sources used: openSUSE Leap 42.3 (src): xen-4.9.1_08-16.1
SUSE-SU-2018:0472-1: An update that solves 10 vulnerabilities and has two fixes is now available. Category: security (important) Bug References: 1027519,1035442,1051729,1061081,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180 CVE References: CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2018-5683 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP2 (src): xen-4.7.4_06-43.24.1 SUSE Linux Enterprise Server 12-SP2 (src): xen-4.7.4_06-43.24.1 SUSE Linux Enterprise Desktop 12-SP2 (src): xen-4.7.4_06-43.24.1
SUSE-SU-2018:0601-1: An update that solves 10 vulnerabilities and has three fixes is now available. Category: security (important) Bug References: 1027519,1035442,1061081,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180,1080635,1080662 CVE References: CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2018-5683 Sources used: SUSE Linux Enterprise Server 12-LTSS (src): xen-4.4.4_28-22.62.1
SUSE-SU-2018:0609-1: An update that solves 10 vulnerabilities and has two fixes is now available. Category: security (important) Bug References: 1035442,1061081,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180,1080635,1080662 CVE References: CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2018-5683 Sources used: SUSE OpenStack Cloud 6 (src): xen-4.5.5_24-22.43.1 SUSE Linux Enterprise Server for SAP 12-SP1 (src): xen-4.5.5_24-22.43.1 SUSE Linux Enterprise Server 12-SP1-LTSS (src): xen-4.5.5_24-22.43.1
SUSE-SU-2018:0638-1: An update that solves 10 vulnerabilities and has four fixes is now available. Category: security (important) Bug References: 1027519,1031382,1035442,1061081,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180,1080635,1080662 CVE References: CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2018-5683 Sources used: SUSE Linux Enterprise Software Development Kit 11-SP4 (src): xen-4.4.4_28-61.23.2 SUSE Linux Enterprise Server 11-SP4 (src): xen-4.4.4_28-61.23.2 SUSE Linux Enterprise Debuginfo 11-SP4 (src): xen-4.4.4_28-61.23.2
SUSE-SU-2018:0678-1: An update that fixes 14 vulnerabilities is now available. Category: security (important) Bug References: 1024307,1030144,1061081,1068032,1070158,1070159,1070160,1070163,1074562,1076116,1076180,1080635,1080662 CVE References: CVE-2017-11334,CVE-2017-15595,CVE-2017-17563,CVE-2017-17564,CVE-2017-17565,CVE-2017-17566,CVE-2017-18030,CVE-2017-5715,CVE-2017-5753,CVE-2017-5754,CVE-2017-5898,CVE-2018-5683,CVE-2018-7540,CVE-2018-7541 Sources used: SUSE Linux Enterprise Server 11-SP3-LTSS (src): xen-4.2.5_21-45.19.1 SUSE Linux Enterprise Point of Sale 11-SP3 (src): xen-4.2.5_21-45.19.1 SUSE Linux Enterprise Debuginfo 11-SP3 (src): xen-4.2.5_21-45.19.1
The fix for this bug has been released on the following repos, SUSE:SLE-11-SP3:Update SUSE:SLE-11-SP3:Update:Teradata SUSE:SLE-11-SP4:Update SUSE:SLE-12:Update SUSE:SLE-12-SP1:Update SUSE:SLE-12-SP2:Update SUSE:SLE-12-SP3:Update Still need SLE10-SP3 and SLE11-SP1 (Teradata)
Patches for this bug have been submitted for the following distros, SUSE:SLE-10-SP3:Update:Test SUSE:SLE-11-SP1:Update:Teradata SUSE:SLE-11-SP3:Update SUSE:SLE-11-SP3:Update:Teradata SUSE:SLE-11-SP4:Update SUSE:SLE-12:Update SUSE:SLE-12-SP1:Update SUSE:SLE-12-SP2:Update SUSE:SLE-12-SP3:Update
An update workflow for this issue was started. This issue was rated as important. Please submit fixed packages until 2018-05-16. When done, reassign the bug to security-team@suse.de. https://swamp.suse.de/webswamp/wf/64029
released