CVE-2017-2671
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-2671
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-2671.html
Vendor advisory: secalert@redhat.com — https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893
Vendor advisory: secalert@redhat.com — https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893
Exploits
Exploit-DB
- EDB-42135 · dos · android
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 4.9.25-1 |
| debian | bullseye | fixed | 4.9.25-1 |
| debian | forky | fixed | 4.9.25-1 |
| debian | sid | fixed | 4.9.25-1 |
| debian | trixie | fixed | 4.9.25-1 |
| linux-kernel | affected | |
References
- http://openwall.com/lists/oss-security/2017/04/04/8
- http://www.securityfocus.com/bid/97407
- https://access.redhat.com/errata/RHSA-2017:1842
- https://access.redhat.com/errata/RHSA-2017:2077
- https://access.redhat.com/errata/RHSA-2017:2669
- https://access.redhat.com/errata/RHSA-2018:1854
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893
- https://github.com/danieljiang0415/android_kernel_crash_poc
- https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893
- https://twitter.com/danieljiang0415/status/845116665184497664
- https://usn.ubuntu.com/3754-1/
- https://www.exploit-db.com/exploits/42135/
- https://www.suse.com/security/cve/CVE-2017-2671.html
- https://security-tracker.debian.org/tracker/CVE-2017-2671
Verify integrity in audit chain (admin only). AS-IS.