kernel: Race condition in packet_set_ring leads to use after free
Published Dec 8, 2016
7.8
HIGHCVSS 3.1
EPSS 11.13%
Description
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.
Affected products
No data.
Configuration 1
- ≥ 3.2 · < 3.2.85
- ≥ 3.3 · < 3.10.106
- ≥ 3.11 · < 3.12.69
- ≥ 3.13 · < 3.16.40
- ≥ 3.17 · < 3.18.46
- ≥ 3.19 · < 4.1.37
- ≥ 4.2 · < 4.4.38
- ≥ 4.5 · < 4.8.14
Configuration 2
- 12.04
- 14.04
- 16.04
- 16.10
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-514.10.2.el7
Fixed · RHSA-2017:0386
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-514.10.2.rt56.435.el7
Fixed · RHSA-2017:0387
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-514.rt56.215.el6rt
Fixed · RHSA-2017:0402
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-514.10.2.el7 | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-514.10.2.rt56.435.el7 | Fixed | RHSA-2017:0387 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-514.rt56.215.el6rt | Fixed | RHSA-2017:0402 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (28 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 11.13% (0.11127) | 95.82th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.13% (0.11127) | 95.36th | v5 (v2026.06.15) |
| Jun 3, 2026 | 47.36% (0.47355) | 97.75th | v4 (v2025.03.14) |
| May 24, 2026 | 37.70% (0.37699) | 97.26th | v4 (v2025.03.14) |
| May 11, 2026 | 40.02% (0.40023) | 97.36th | v4 (v2025.03.14) |
| Apr 17, 2026 | 34.92% (0.34922) | 97.03th | v4 (v2025.03.14) |
| Apr 1, 2026 | 38.27% (0.38274) | 97.20th | v4 (v2025.03.14) |
| Jan 19, 2026 | 30.36% (0.30361) | 96.55th | v4 (v2025.03.14) |
| Nov 28, 2025 | 39.46% (0.39457) | 97.12th | v4 (v2025.03.14) |
| Sep 3, 2025 | 40.90% (0.40898) | 97.31th | v4 (v2025.03.14) |
| Aug 29, 2025 | 37.49% (0.37488) | 97.07th | v4 (v2025.03.14) |
| Jul 20, 2025 | 39.14% (0.39139) | 97.12th | v4 (v2025.03.14) |
| Jun 1, 2025 | 33.64% (0.33642) | 96.73th | v4 (v2025.03.14) |
| May 26, 2025 | 34.91% (0.34909) | 96.80th | v4 (v2025.03.14) |
| Apr 24, 2025 | 41.05% (0.41049) | 97.17th | v4 (v2025.03.14) |
| Apr 23, 2025 | 42.33% (0.42326) | 97.24th | v4 (v2025.03.14) |
| Apr 10, 2025 | 41.10% (0.41102) | 97.13th | v4 (v2025.03.14) |
| Apr 5, 2025 | 51.76% (0.51759) | 97.69th | v4 (v2025.03.14) |
| Apr 4, 2025 | 49.80% (0.49803) | 97.59th | v4 (v2025.03.14) |
| Mar 17, 2025 | 42.94% (0.42938) | 97.18th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00043) | 11.34th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.04% (0.00043) | 9.47th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00043) | 7.45th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.20% (0.02195) | 81.07th | v2 (v2022.01.01) |
| Feb 13, 2023 | 2.20% (0.02195) | 80.58th | v2 (v2022.01.01) |
| Feb 3, 2023 | 2.30% (0.02302) | 80.82th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.20% (0.02195) | 79.25th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.20% (0.02195) | 57.97th | v2 (v2022.01.01) |
References (37)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84ac7260236a49c79eede91617700174c2c19b0c x_refsource_CONFIRMPatchVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00044.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00054.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00055.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00056.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00067.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00070.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00073.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00076.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00077.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00087.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/140063/Linux-Kernel-4.4.0-AF_PACKET-Race-Condition-Privilege-Escalation.html x_refsource_MISCThird Party AdvisoryVDB Entry
- http://rhn.redhat.com/errata/RHSA-2017-0386.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2017-0387.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2017-0402.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/12/06/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/94692 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037403 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037968 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-3149-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3149-2 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3150-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3150-2 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3151-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3151-2 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3151-3 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3151-4 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3152-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-3152-2 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-8655 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1400019 x_refsource_CONFIRMIssue TrackingThird Party AdvisoryVDB Entry
- https://github.com/torvalds/linux/commit/84ac7260236a49c79eede91617700174c2c19b0c x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-8655
- https://source.android.com/security/bulletin/2017-03-01.html x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-8655
- https://www.exploit-db.com/exploits/40871/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/44696/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
Change history (0)
No recorded changes yet.