Bugzilla – Bug 950367
VUL-0: CVE-2015-7835: xen: x86: Uncontrolled creation of large page mappings by PV guests (XSA-148)
Last modified: 2021-01-22 08:57:25 UTC
public at http://xenbits.xen.org/xsa/advisory-148.html Xen Security Advisory CVE-2015-7835 / XSA-148 version 4 x86: Uncontrolled creation of large page mappings by PV guests UPDATES IN VERSION 4 ==================== Public release. ISSUE DESCRIPTION ================= The code to validate level 2 page table entries is bypassed when certain conditions are satisfied. This means that a PV guest can create writeable mappings using super page mappings. Such writeable mappings can violate Xen intended invariants for pages which Xen is supposed to keep read-only. This is possible even if the "allowsuperpage" command line option is not used. IMPACT ====== Malicious PV guest administrators can escalate privilege so as to control the whole system. VULNERABLE SYSTEMS ================== Xen 3.4 and onward are vulnerable. Only x86 systems are vulnerable. ARM systems are not vulnerable. Only PV guests can exploit the vulnerability. Both 32-bit and 64-bit PV guests can do so. MITIGATION ========== Running only HVM guests will avoid this vulnerability. On systems where the guest kernel is controlled by the host rather than guest administrator, running only kernels which do not call these hypercalls will also prevent untrusted guest users from exploiting this issue. However untrusted guest administrators can still trigger it unless further steps are taken to prevent them from loading code into the kernel (e.g. by disabling loadable modules etc) or from using other mechanisms which allow them to run code at kernel privilege. CREDITS ======= This issue was discovered by 栾尚聪 (好风) of Alibaba. RESOLUTION ========== Applying the appropriate attached patch resolves this issue. xsa148.patch xen-unstable, Xen 4.6.x xsa148-4.5.patch Xen 4.5.x xsa148-4.4.patch Xen 4.4.x, Xen 4.3.x $ sha256sum xsa148*.patch f320d105a4832124910f46c50acd4803fe289bd7c4702ec15f97fb611b70944d xsa148.patch 7f78efd001f041a0e5502546664d28011cb881d72c94ea564585efb3ca01ddfe xsa148-4.4.patch 272a729048471cea851d4a881f3f2c32c7be101e2a452d2b2ceb9d66908ee4a3 xsa148-4.5.patch $ DEPLOYMENT DURING EMBARGO ========================= Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators. But: Distribution of updated software is prohibited (except to other members of the predisclosure list). Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team. (Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.) For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html
Can you please provide submits for openSUSE?
SUSE-SU-2015:1853-1: An update that solves 8 vulnerabilities and has 6 fixes is now available. Category: security (important) Bug References: 877642,907514,910258,918984,923967,932267,941074,944463,944697,947165,950367,950703,950705,950706 CVE References: CVE-2014-0222,CVE-2015-4037,CVE-2015-5239,CVE-2015-6815,CVE-2015-7311,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971 Sources used: SUSE Linux Enterprise Software Development Kit 11-SP3 (src): xen-4.2.5_14-18.2 SUSE Linux Enterprise Server 11-SP3 (src): xen-4.2.5_14-18.2 SUSE Linux Enterprise Desktop 11-SP3 (src): xen-4.2.5_14-18.2 SUSE Linux Enterprise Debuginfo 11-SP3 (src): xen-4.2.5_14-18.2
(In reply to Johannes Segitz from comment #16) > Can you please provide submits for openSUSE? Maintenance Requests: openSUSE:13.1:Update: 341698 openSUSE:13.2:Update: 341697 openSUSE:Leap:42.1:Update: 341718 openSUSE:Factory: 341719
SUSE-SU-2015:1894-1: An update that solves 8 vulnerabilities and has 9 fixes is now available. Category: security (important) Bug References: 877642,901488,907514,910258,918984,923967,932267,944463,944697,945167,947165,949138,949549,950367,950703,950705,950706 CVE References: CVE-2014-0222,CVE-2015-4037,CVE-2015-5239,CVE-2015-6815,CVE-2015-7311,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971 Sources used: SUSE Linux Enterprise Software Development Kit 11-SP4 (src): xen-4.4.3_02-26.2 SUSE Linux Enterprise Server 11-SP4 (src): xen-4.4.3_02-26.2 SUSE Linux Enterprise Desktop 11-SP4 (src): xen-4.4.3_02-26.2 SUSE Linux Enterprise Debuginfo 11-SP4 (src): xen-4.4.3_02-26.2
SUSE-SU-2015:1908-1: An update that solves 8 vulnerabilities and has 8 fixes is now available. Category: security (important) Bug References: 877642,901488,907514,910258,918984,923967,932267,944463,944697,945167,947165,949138,950367,950703,950705,950706 CVE References: CVE-2014-0222,CVE-2015-4037,CVE-2015-5239,CVE-2015-6815,CVE-2015-7311,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971 Sources used: SUSE Linux Enterprise Software Development Kit 12 (src): xen-4.4.3_02-22.12.1 SUSE Linux Enterprise Server 12 (src): xen-4.4.3_02-22.12.1 SUSE Linux Enterprise Desktop 12 (src): xen-4.4.3_02-22.12.1
SUSE-SU-2015:1952-1: An update that solves 7 vulnerabilities and has one errata is now available. Category: security (important) Bug References: 877642,932267,944463,944697,950367,950703,950705,950706 CVE References: CVE-2014-0222,CVE-2015-4037,CVE-2015-5239,CVE-2015-6815,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971 Sources used: SUSE Linux Enterprise Server 11-SP2-LTSS (src): xen-4.1.6_08-20.1 SUSE Linux Enterprise Debuginfo 11-SP2 (src): xen-4.1.6_08-20.1
openSUSE-SU-2015:1964-1: An update that solves 12 vulnerabilities and has two fixes is now available. Category: security (important) Bug References: 877642,932267,938344,939709,939712,941074,944463,944697,947165,950367,950703,950705,950706,951845 CVE References: CVE-2014-0222,CVE-2015-4037,CVE-2015-5154,CVE-2015-5165,CVE-2015-5166,CVE-2015-5239,CVE-2015-6815,CVE-2015-7311,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971,CVE-2015-7972 Sources used: openSUSE 13.1 (src): xen-4.3.4_06-50.1
openSUSE-SU-2015:1965-1: An update that solves 6 vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 877642,932267,950367,950703,950705,950706,951845 CVE References: CVE-2014-0222,CVE-2015-4037,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971,CVE-2015-7972 Sources used: openSUSE Leap 42.1 (src): xen-4.5.1_12-3.1
openSUSE-SU-2015:2003-1: An update that solves 13 vulnerabilities and has 9 fixes is now available. Category: security (important) Bug References: 877642,901488,907514,910258,918984,923967,925466,932267,935634,938344,939709,939712,944463,944697,945167,947165,949138,950367,950703,950705,950706,951845 CVE References: CVE-2014-0222,CVE-2015-3259,CVE-2015-4037,CVE-2015-5154,CVE-2015-5165,CVE-2015-5166,CVE-2015-5239,CVE-2015-6815,CVE-2015-7311,CVE-2015-7835,CVE-2015-7969,CVE-2015-7971,CVE-2015-7972 Sources used: openSUSE 13.2 (src): xen-4.4.3_02-30.1
released