cve.bz

CVE-2016-8655 Race Condition

7.8 highExploitEPSS 11%Fix available

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

On this page
Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local users to gain privileges or cause a denial of service (use-after-free) by leveraging the CAP_NET_RAW capability to change a socket version, related to the packet_set_ring and packet_setsockopt functions.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-416 Use After Free
OWASP Top 10
A06:2025 Insecure Design
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-8655 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-8655?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-8655?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-8655 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
linux:linux_kernelfrom 3.2 before 3.2.85
linux:linux_kernelfrom 3.3 before 3.10.106
linux:linux_kernelfrom 3.11 before 3.12.69
linux:linux_kernelfrom 3.13 before 3.16.40
linux:linux_kernelfrom 3.17 before 3.18.46
linux:linux_kernelfrom 3.19 before 4.1.37
linux:linux_kernelfrom 4.2 before 4.4.38
linux:linux_kernelfrom 4.5 before 4.8.14
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux16.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.84-1DLA-772-1
Debian12, 13, 14linux4.8.15-1DEBIAN-CVE-2016-8655
Ubuntu14.04:LTSlinux3.13.0-105.152UBUNTU-CVE-2016-8655 USN-3149-1
Ubuntu14.04:LTSlinux-lts-vivid3.19.0-77.85~14.04.1UBUNTU-CVE-2016-8655
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-53.74~14.04.1UBUNTU-CVE-2016-8655 USN-3151-2
Ubuntu16.04:LTSlinux4.4.0-53.74UBUNTU-CVE-2016-8655 USN-3151-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1034.41UBUNTU-CVE-2016-8655 USN-3151-4
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1039.43UBUNTU-CVE-2016-8655 USN-3151-3
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 15 more0:3.10.0-514.10.2.el7RHSA-2017:0386
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 22 more0:3.10.0-514.10.2.el7RHSA-2017:0386
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-514.rt56.215.el6rtRHSA-2017:0402
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-514.10.2.rt56.435.el7RHSA-2017:0387
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1kernel-xen, kernel-syms, kernel-source and 1 more3.12.67-60.64.21.1SUSE-SU-2016:3039-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.21-84.1SUSE-SU-2016:3049-1
SUSELinux Enterprise High Availability Extension 12 SP2, Linux Enterprise Workstation Extension 12 SP2kernel-default4.4.21-84.1SUSE-SU-2016:3049-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_08-23.2SUSE-SU-2016:3094-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_18-2.1SUSE-SU-2016:3100-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_101-2.1SUSE-SU-2016:3039-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_27-2.1SUSE-SU-2016:3093-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_36-2.1SUSE-SU-2016:3098-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_45-2.1SUSE-SU-2016:3104-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_55-2.1SUSE-SU-2016:3117-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_65-2.1SUSE-SU-2016:3096-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP1_Update_74-2.1SUSE-SU-2016:3183-1
23 more for SUSE in the JSON and on SUSE's page.

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

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue does not affect Red Hat Enterprise Linux 5 and 6.

This issue does affect Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. Future updates for the respective releases will address this issue.

In a default or common use of Red Hat Enterprise Linux 7 this issue does not allow an unprivileged local user elevate their privileges on the system.

In order to exploit this issue the attacker needs CAP_NET_RAW capability, which needs to be granted by the administrator to the attacker's account. Since Red Hat Enterprise Linux 7 does not have unprivileged user namespaces enabled by default, local unprivileged users also cannot abuse namespaces to grant this capability to themselves and elevate their privileges.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-514.10.2.rt56.435.el7Fixed 2017-03-02RHSA-2017:0387
Red Hat Enterprise Linux 7kernel-0:3.10.0-514.10.2.el7Fixed 2017-03-02RHSA-2017:0386
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-514.rt56.215.el6rtFixed 2017-03-02RHSA-2017:0402
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot 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-8655.

Public exploits

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON