CVE-2016-3157

Summary

CVECVE-2016-3157
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-04-12 16:59:02 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel does not properly context-switch IOPL on 64-bit PV Xen guests, which allows local guest OS users to gain privileges, cause a denial of service (guest OS crash), or obtain sensitive information by leveraging I/O port access.

Risk And Classification

Primary CVSS: v3.0 7.8 HIGH from [email protected]

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-264 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary7.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.2AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Xen Xen 4.0.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
USN-2968-2: Linux kernel (Trusty HWE) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2971-2: Linux kernel (Wily HWE) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2996-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2968-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2971-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Debian -- Security Information -- DSA-3607-1 linux af854a3a-2127-422b-91ae-364da2661108 www.debian.org
USN-2997-1: Linux kernel (OMAP4) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2969-1: Linux kernel (Utopic HWE) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Linux Kernel Xen PV Guest CVE-2016-3157 Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
XSA-171 - Xen Security Advisories af854a3a-2127-422b-91ae-364da2661108 xenbits.xen.org Patch, Vendor Advisory
USN-2970-1: Linux kernel (Vivid HWE) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
USN-2971-3: Linux kernel (Raspberry Pi 2) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Oracle Linux Bulletin - April 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Xen I/O Port Access Missing PHYSDEVOP_set_iopl Hypercall Lets Local Users on a Guest System Gain Elevated Privileges on the Guest System - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report