{"id":"CVE-2016-3157","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"The __switch_to function in arch/x86/kernel/process_64.c in the Linux kernel does not properly context-switch IOPL on 6…","description":"The __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.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":7.2,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":["CWE-264"],"remote":false,"remote_unauth":false,"epss":{"score":0.00513,"percentile":0.37021,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.ubuntu.com/usn/USN-2971-2","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2970-1","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2969-1","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2968-1","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2971-3","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2997-1","kind":"vendor"},{"url":"http://www.debian.org/security/2016/dsa-3607","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2971-1","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2996-1","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2968-2","kind":"vendor"},{"url":"http://xenbits.xen.org/xsa/advisory-171.html","kind":"patch"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","kind":"other"},{"url":"http://www.securitytracker.com/id/1035308","kind":"other"},{"url":"http://www.securityfocus.com/bid/84594","kind":"other"}],"workarounds":null,"vendors":["canonical","xen"],"products":["ubuntu_linux","xen"],"cpes":["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*","cpe:2.3:o:xen:xen:4.0.0:*:*:*:*:*:*:*"],"published_at":"2016-04-12T16:00:00.000Z","modified_at":"2026-06-17T00:45:12.270Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3157"}],"links":{"html":"https://flawdb.com/CVE-2016-3157","markdown":"https://flawdb.com/CVE-2016-3157.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-3157"}}