Description
The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure that disconnect function calls are safe, which allows local users to cause a denial of service (panic) by leveraging access to the protocol value of IPPROTO_ICMP in a socket system call.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.9.25-1 | — |
| Debian 13 | linux | 4.9.25-1 | — |
| Debian 12 | linux | 4.9.25-1 | — |
| Debian 7 | linux | 3.2.88-1 | DLA-922-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-79.100 | USN-3312-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1018.27 | USN-3312-1 |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1014.14 | USN-3312-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.10.0-32.36~16.04.1 | USN-3361-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1057.64 | USN-3312-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1059.63 | USN-3312-1 |
| Ubuntu 14.04 LTS | linux | 3.13.0-157.207 | USN-3754-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-79.100~14.04.1 | USN-3312-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-693.rt56.617.el7 | RHSA-2017:2077 |
| RHEL 7 | perf +17 | 3.10.0-693.el7 | RHSA-2017:1842 |
| RHEL 6 | perf +16 | 2.6.32-754.el6 | RHSA-2018:1854 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.2.1.rt56.585.el6rt | RHSA-2017:2669 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | kernel-default +1 | 4.4.59-92.17.3 | SUSE-SU-2017:1183-1 |
| SLES 12 SP2 | kernel-docs | 4.4.59-92.17.8 | SUSE-SU-2017:1183-1 |
| SLES 12 SP2 | kernel-syms +1 | 4.4.59-92.17.2 | SUSE-SU-2017:1183-1 |
| SLES 12 SP1 | kernel-docs | 3.12.74-60.64.40.4 | SUSE-SU-2017:1360-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.74-60.64.40.1 | SUSE-SU-2017:1360-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.72.1 | SUSE-SU-2017:1360-1, SUSE-SU-2017:1247-1 |
| SLES 12 | kgraft-patch-SLE12_Update_21 | 1-2.1 | SUSE-SU-2017:1247-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-100.2 | SUSE-SU-2017:1301-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | kernel-default | 4.4.59-92.17.3 | SUSE-SU-2017:1183-1 |
| SLES for SAP 12 SP2 | kernel-syms +1 | 4.4.59-92.17.2 | SUSE-SU-2017:1183-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.40.1 | SUSE-SU-2017:1360-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.61-52.72.1 | SUSE-SU-2017:1247-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_21 | 1-2.1 | SUSE-SU-2017:1247-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLE Real Time 12 SP2 | kernel-rt +3 | 4.4.74-7.10.1 | SUSE-SU-2017:1990-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.5.1 | SUSE-SU-2017:2342-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_15 | 1-4.1 | SUSE-SU-2017:1360-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_7 | 1-2.3 | SUSE-SU-2017:1183-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.19.12.el6uek | 0.4.5-3.el6 | ELSA-2017-3636 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.19.12.el7uek | 0.4.5-3.el7 | ELSA-2017-3636 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.19.12.el7uek | ELSA-2017-3636 |
| Oracle Linux 7 | perf +11 | 3.10.0-693.el7 | ELSA-2017-1842 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel - 'ping' Local Denial of Service EDB-42135 · dos · Jun 7, 2017 · verified
GitHub 1 repository
-
homjxi0e/CVE-2017-2671 ★ 0 · Jun 8, 2017
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 18
- RHSA-2018:1854 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2669 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2077 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:1842 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- USN-3361-1 linux-hwe vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3754-1 linux vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3312-1 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-922-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3312-2 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:1183-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1247-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2525-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1360-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1301-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1990-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:2342-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-3636 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 2, 2017
- ELSA-2017-1842 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2017
References
- 97407 vdb-entry
- https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893
- [oss-security] 20170404 Re: Linux kernel ping socket / AF_LLC connect() sin_family race mailing-list
- RHSA-2017:2669 vendor-advisory
- RHSA-2018:1854 vendor-advisory
- USN-3754-1 vendor-advisory
- https://twitter.com/danieljiang0415/status/845116665184497664
- https://github.com/danieljiang0415/android_kernel_crash_poc
- 42135 exploit
- RHSA-2017:2077 vendor-advisory
- RHSA-2017:1842 vendor-advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893