Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.2 to before 3.2.85; 3.3 to before 3.10.106; 3.11 to before 3.12.69; 3.13 to before 3.16.40; 3.17 to before 3.18.46; 3.19 to before 4.1.37; 4.2 to before 4.4.38; 4.5 to before 4.8.14 | Vulnerable | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* | 16.10 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.2 to before 3.2.85; 3.3 to before 3.10.106; 3.11 to before 3.12.69; 3.13 to before 3.16.40; 3.17 to before 3.18.46; 3.19 to before 4.1.37; 4.2 to before 4.4.38; 4.5 to before 4.8.14 Vulnerable ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* Versions 16.10 Vulnerable ·Canonical
Remediation
Red Hat 3 advisories
- RHSA-2017:0387 Released 2017-03-02 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Realtime (v. 7) kernel-rt-3.10.0-514.10.2.rt56.435.el7, kernel-rt-debug-3.10.0-514.10.2.rt56.435.el7, kernel-rt-debug-devel-3.10.0-514.10.2.rt56.435.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-514.10.2.rt56.435.el7, kernel-rt-debug-3.10.0-514.10.2.rt56.435.el7, kernel-rt-debug-devel-3.10.0-514.10.2.rt56.435.el7 +7
- RHSA-2017:0386 Released 2017-03-02 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) kernel-3.10.0-514.10.2.el7, kernel-abi-whitelists-3.10.0-514.10.2.el7, kernel-debug-3.10.0-514.10.2.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-514.10.2.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) kernel-3.10.0-514.10.2.el7, kernel-abi-whitelists-3.10.0-514.10.2.el7, kernel-debug-3.10.0-514.10.2.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-514.10.2.el7
- Red Hat Enterprise Linux Server (v. 7) kernel-3.10.0-514.10.2.el7, kernel-abi-whitelists-3.10.0-514.10.2.el7, kernel-bootwrapper-3.10.0-514.10.2.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-514.10.2.el7, kernel-tools-libs-devel-3.10.0-514.10.2.el7
- Red Hat Enterprise Linux Workstation (v. 7) kernel-3.10.0-514.10.2.el7, kernel-abi-whitelists-3.10.0-514.10.2.el7, kernel-debug-3.10.0-514.10.2.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-514.10.2.el7
- RHSA-2017:0402 Released 2017-03-02 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt-1:3.10.0-514.rt56.215.el6rt, kernel-rt-debug-1:3.10.0-514.rt56.215.el6rt, kernel-rt-debug-devel-1:3.10.0-514.rt56.215.el6rt +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux Realtime (v. 7) | Fixed | RHSA-2017:0387 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:0386 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2017:0387 |
| Red Hat MRG Realtime for RHEL 6 Server v.2 | Fixed | RHSA-2017:0402 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2016-8655
- 2026-10-03 Alias added: GHSA-3x7h-7xqw-rj45
References
Patch 2
Advisory 27
- USN-3151-3
- SUSE-SU-2016:3096
- SUSE-SU-2016:3206
- SUSE-SU-2016:3169
- USN-3150-2
- USN-3149-2
- USN-3150-1
- SUSE-SU-2016:3117
- SUSE-SU-2016:3197
- RHSA-2017:0402
- USN-3151-1
- RHSA-2017:0387
- USN-3149-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1400019
- SUSE-SU-2016:3247
- USN-3151-2
- SUSE-SU-2016:3183
- http://packetstormsecurity.com/files/140063/Linux-Kernel-4.4.0-AF_PACKET-Race-Condition-Privilege-Escalation.html
- [oss-security] 20161206 CVE-2016-8655 Linux af_packet.c race condition (local root)
- USN-3152-1
- USN-3152-2
- RHSA-2017:0386
- USN-3151-4
- SUSE-SU-2016:3116
- SUSE-SU-2016:3113
- https://source.android.com/security/bulletin/2017-03-01.html
- SUSE-SU-2016:3205
Sources
- CVE-2016-8655 · CVE Program
- CVE-2016-8655 · NVD
- FIRST EPSS
- GHSA-3x7h-7xqw-rj45 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-8655 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences