Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-3636 EUVD-2015-3674GHSA-67pv-68g5-4j93

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 un…

Published Aug 6, 2015 · Updated Aug 6, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 7 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 19

References