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.
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.0.2-1 | — |
| Debian 13 | linux | 4.0.2-1 | — |
| Debian 12 | linux | 4.0.2-1 | — |
| Debian 7 | linux | 3.2.68-1+deb7u2 | DSA-3290-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux | 3.13.0-54.91 | USN-2634-1 |
| Ubuntu 14.04 LTS | linux-lts-utopic | 3.16.0-39.53~14.04.1 | USN-2635-1 |
| Ubuntu 14.04 LTS | linux-lts-vivid | 3.19.0-20.20~14.04.1 | USN-2636-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-kdump +4 | 3.10.0-229.11.1.el7 | RHSA-2015:1534 |
| RHEL 7 | kernel-rt +7 | 3.10.0-229.11.1.rt56.141.11.el7_1 | RHSA-2015:1565 |
| RHEL 7 | perf +13 | 3.10.0-229.11.1.ael7b | RHSA-2015:1534 |
| RHEL 6 | perf +16 | 2.6.32-504.30.3.el6 | RHSA-2015:1221 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6.5 EUS | perf +16 | 2.6.32-431.61.2.el6 | RHSA-2015:1583 |
| RHEL 6.4 AUS | perf +9 | 2.6.32-358.65.1.el6 | RHSA-2015:1643 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-229.rt56.158.el6rt | RHSA-2015:1564 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | kernel-docs +1 | 3.12.43-52.6.2 | SUSE-SU-2015:1071-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.43-52.6.1 | SUSE-SU-2015:1071-1 |
| SLES 11 SP3 | kernel-xen +4 | 3.0.101-0.63.TDC.1 | SUSE-SU-2015:1224-1 |
| SLES 11 SP2 | kernel-ec2 +6 | 3.0.101-0.7.37.1 | SUSE-SU-2015:1478-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | kernel-xen +3 | 3.12.43-52.6.1 | SUSE-SU-2015:1071-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_1 +1 | 3-2.1 | SUSE-SU-2015:1489-1, SUSE-SU-2015:1488-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_3 | 2-7.1 | SUSE-SU-2015:1487-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_4 | 2-10.1 | SUSE-SU-2015:1491-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_5 | 1-2.3 | SUSE-SU-2015:1071-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-68.3.4.el6uek | 0.4.3-4.el6 | ELSA-2015-3048 |
| Oracle Linux 7 | dtrace-modules-3.8.13-68.3.4.el7uek | 0.4.3-4.el7 | ELSA-2015-3048 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-68.3.4.el7uek | ELSA-2015-3048 |
| Oracle Linux 7 | perf +11 | 3.10.0-229.11.1.el7 | ELSA-2015-1534 |
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.
GitHub 7 repositories
-
fi01/CVE-2015-3636 ★ 136 · Sep 12, 2015
PoC code for 32 bit Android OS
-
android-rooting-tools/libpingpong_exploit ★ 45 · Oct 7, 2015
CVE-2015-3636 exploit
-
a7vinx/CVE-2015-3636 ★ 20 · Jan 2, 2017
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 · Jul 25, 2015
-
askk/libping_unhash_exploit_POC ★ 3 · Aug 21, 2015
CVE-2015-3636 exploit
-
debugfan/rattle_root ★ 1 · Jul 13, 2016
root with CVE-2015-3636
-
ludongxu/cve-2015-3636 ★ 0 · Aug 31, 2015
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 19
- RHSA-2015:1643 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1583 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1565 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1564 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1534 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1221 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2634-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3290-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2635-1 linux-lts-utopic vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2636-1 linux-lts-vivid vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:1491-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1488-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1478-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1489-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1071-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1487-1 Live patch for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1224-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2015-1534 Moderate: kernel security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 5, 2015
- ELSA-2015-3048 Moderate: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 15, 2015
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
- 1033186 vdb-entry
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- https://github.com/torvalds/linux/commit/a134f083e79fb4c3d0a925691e732c56911b4326
- FEDORA-2015-7736 vendor-advisory
- RHSA-2015:1643 vendor-advisory
- openSUSE-SU-2015:1382 vendor-advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.3
- https://bugzilla.redhat.com/show_bug.cgi?id=1218074
- SUSE-SU-2015:1478 vendor-advisory
- RHSA-2015:1583 vendor-advisory
- RHSA-2015:1534 vendor-advisory
- RHSA-2015:1564 vendor-advisory
- SUSE-SU-2015:1224 vendor-advisory
- SUSE-SU-2015:1487 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a134f083e79fb4c3d0a925691e732c56911b4326
- RHSA-2015:1221 vendor-advisory
- FEDORA-2015-7784 vendor-advisory
- USN-2633-1 vendor-advisory
- 74450 vdb-entry