Linux kernel: heap out-of-bounds in AF_PACKET sockets.
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
- Partial Red Hat: 19 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
Linux kernel: heap out-of-bounds in AF_PACKET sockets. This new issue is analogous to previously disclosed CVE-2016-8655. In both cases, a socket option that changes socket state may race with safety checks in packet_set_ring. Previously with PACKET_VERSION. This time with PACKET_RESERVE. The solution is similar: lock the socket for the update. This issue may be exploitable, we did not investigate further. As this issue affects PF_PACKET sockets, it requires CAP_NET_RAW in the process namespace. But note that with user namespaces enabled, any process can create a namespace in which it has CAP_NET_RAW.
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 · 19
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.27 to before 3.2.92; 3.3 to before 3.10.108; 3.11 to before 3.16.47; 3.17 to before 3.18.65; 3.19 to before 4.1.44; 4.2 to before 4.4.82; 4.5 to before 4.9.43; 4.10 to before 4.12.7 | Vulnerable | Linux |
| cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.27 to before 3.2.92; 3.3 to before 3.10.108; 3.11 to before 3.16.47; 3.17 to before 3.18.65; 3.19 to before 4.1.44; 4.2 to before 4.4.82; 4.5 to before 4.9.43; 4.10 to before 4.12.7 Vulnerable ·Linux
- cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
Show 9 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
Red Hat 4 advisories
- RHSA-2017:3200 Released 2017-11-14 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) kernel-2.6.32-696.16.1.el6, kernel-abi-whitelists-2.6.32-696.16.1.el6, kernel-debug-2.6.32-696.16.1.el6 +6
- Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf-2.6.32-696.16.1.el6
- Red Hat Enterprise Linux HPC Node (v. 6) kernel-2.6.32-696.16.1.el6, kernel-abi-whitelists-2.6.32-696.16.1.el6, kernel-debug-2.6.32-696.16.1.el6 +6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf-2.6.32-696.16.1.el6
- Red Hat Enterprise Linux Server (v. 6) kernel-2.6.32-696.16.1.el6, kernel-abi-whitelists-2.6.32-696.16.1.el6, kernel-bootwrapper-2.6.32-696.16.1.el6 +9
- Red Hat Enterprise Linux Server Optional (v. 6) python-perf-2.6.32-696.16.1.el6
- Red Hat Enterprise Linux Workstation (v. 6) kernel-2.6.32-696.16.1.el6, kernel-abi-whitelists-2.6.32-696.16.1.el6, kernel-debug-2.6.32-696.16.1.el6 +6
- Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf-2.6.32-696.16.1.el6
- RHSA-2017:2931 Released 2017-10-19 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Realtime (v. 7) kernel-rt-3.10.0-693.5.2.rt56.626.el7, kernel-rt-debug-3.10.0-693.5.2.rt56.626.el7, kernel-rt-debug-devel-3.10.0-693.5.2.rt56.626.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-693.5.2.rt56.626.el7, kernel-rt-debug-3.10.0-693.5.2.rt56.626.el7, kernel-rt-debug-devel-3.10.0-693.5.2.rt56.626.el7 +7
- RHSA-2017:2930 Released 2017-10-19 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) kernel-3.10.0-693.5.2.el7, kernel-abi-whitelists-3.10.0-693.5.2.el7, kernel-debug-3.10.0-693.5.2.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-693.5.2.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) kernel-3.10.0-693.5.2.el7, kernel-abi-whitelists-3.10.0-693.5.2.el7, kernel-debug-3.10.0-693.5.2.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-693.5.2.el7
- Red Hat Enterprise Linux Server (v. 7) kernel-3.10.0-693.5.2.el7, kernel-abi-whitelists-3.10.0-693.5.2.el7, kernel-bootwrapper-3.10.0-693.5.2.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-693.5.2.el7, kernel-tools-libs-devel-3.10.0-693.5.2.el7
- Red Hat Enterprise Linux Workstation (v. 7) kernel-3.10.0-693.5.2.el7, kernel-abi-whitelists-3.10.0-693.5.2.el7, kernel-debug-3.10.0-693.5.2.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-693.5.2.el7
Show 1 more Red Hat advisories
- RHSA-2017:2918 Released 2017-10-19 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt-1:3.10.0-693.5.2.rt56.592.el6rt, kernel-rt-debug-1:3.10.0-693.5.2.rt56.592.el6rt, kernel-rt-debug-devel-1:3.10.0-693.5.2.rt56.592.el6rt +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux Realtime (v. 7) | Fixed | RHSA-2017:2931 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2017:3200 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:2930 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2017:2931 |
| Red Hat MRG Realtime for RHEL 6 Server v.2 | Fixed | RHSA-2017:2918 |
Not affected: 1 product
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2017-1000111
- 2026-10-03 Alias added: GHSA-7m59-9m96-wch5
References
Sources
- CVE-2017-1000111 · CVE Program
- CVE-2017-1000111 · NVD
- FIRST EPSS
- GHSA-7m59-9m96-wch5 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-1000111 · 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