cve.bz

CVE-2016-3157

7.8 highEPSS 0.5%Fix available

High (7.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-264 Permissions, Privileges, and Access Controls
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-3157 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-3157?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-3157?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-3157 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xen:xen4.0.0
canonical:ubuntu_linux12.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.81-1DLA-516-1
Debian8linux3.16.7-ckt25-2+deb8u2DSA-3607-1
Debian12, 13, 14linux4.5.1-1DEBIAN-CVE-2016-3157
Ubuntu14.04:LTSlinux3.13.0-86.130UBUNTU-CVE-2016-3157 USN-2968-1
Ubuntu14.04:LTSlinux-lts-utopic3.16.0-71.91~14.04.1UBUNTU-CVE-2016-3157 USN-2969-1
Ubuntu14.04:LTSlinux-lts-vivid3.19.0-59.65~14.04.1UBUNTU-CVE-2016-3157 USN-2970-1
Ubuntu14.04:LTSlinux-lts-wily4.2.0-36.41~14.04.1UBUNTU-CVE-2016-3157 USN-2971-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-22.39~14.04.1UBUNTU-CVE-2016-3157 USN-2965-2
Ubuntu16.04:LTSlinux4.4.0-22.39UBUNTU-CVE-2016-3157 USN-2965-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1010.12UBUNTU-CVE-2016-3157 USN-2965-3
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1013.14UBUNTU-CVE-2016-3157 USN-2965-4
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-azure and 1 moreno fix listedUBUNTU-CVE-2016-3157
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 2 moreno fix listedUBUNTU-CVE-2016-3157
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2016-3157
Ubuntu24.04:LTSlinux-riscv, linux-gcp-6.11, linux-hwe-6.11 and 4 moreno fix listedUBUNTU-CVE-2016-3157
1 more for Ubuntu in the JSON and on Ubuntu's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise Linux 6kernelAffected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelWill not fix
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-3157.

References

Check your stackJSON