Vulnerability in Linux Kernel
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.9 (Medium). Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.025, 84.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 12.04
- Debian Linux — versions 7.0
- Red Hat Enterprise Linux — versions 6.0
Public exploits and proof-of-concept code
7 public repositories with exploit or proof-of-concept code for this CVE:
- fi01/CVE-2015-3636 (136 stars, last pushed 2015-12-15): PoC code for 32 bit Android OS
- android-rooting-tools/libpingpong_exploit (45 stars, last pushed 2015-11-22): CVE-2015-3636 exploit
- a7vinx/CVE-2015-3636 (20 stars, last pushed 2017-01-03): Expolit for android (goldfish kernel v3.10.0+) on arm64 with PXN&SELinux Bypassed. Based on fi01's code.
- betalphafai/cve-2015-3636_crash (4 stars, last pushed 2015-07-25)
- askk/libping_unhash_exploit_POC (3 stars, last pushed 2015-08-20): CVE-2015-3636 exploit
- debugfan/rattle_root (1 star, last pushed 2016-07-13): root with CVE-2015-3636
- ludongxu/cve-2015-3636 (last pushed 2015-08-31)
Also mentioned in 33 other repositories (ambynotcoder/C-libraries, ARPSyndicate/cvemon, CVEDB/awesome-cve-repo, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-3290 (vendor-advisory)
- USN-2631-1 (vendor-advisory)
- USN-2634-1 (vendor-advisory)
- SUSE-SU-2015:1491 (vendor-advisory)
- SUSE-SU-2015:1489 (vendor-advisory)
- USN-2632-1 (vendor-advisory)
- SUSE-SU-2015:1488 (vendor-advisory)
- FEDORA-2015-8518 (vendor-advisory)
- [oss-security] 20150502 CVE request for a fixed bug existed in all versions of linux kernel from KeenTeam (mailing-list)
- www.securitytracker.com/id/1033186 (vdb-entry)
This CVE has public exploit evidence. See the latest CVEs with public exploits.