CVE-2015-3636: Use After Free

Published May 4, 2015
·
Updated

It was found that the Linux kernel's ping socket implementation didn't properly handle socket unhashing during spurious disconnects which could lead to use-after-free flaw.

On x86-64 architecture systems, a local user able to create ping sockets could use this flaw to crash the system.

On non-x86-64 architecture systems, a local user able to create ping sockets could use this flaw to increase their privileges on the system.

Note: By default ping sockets are disabled on the system (net.ipv4.pinggrouprange = 1 0) and have to be explicitly enabled by the system administrator for specific user groups in order to exploit this issue.

Upstream fix: https://github.com/torvalds/linux/commit/a134f083e79fb4c3d0a925691e732c56911b4326

References: http://www.openwall.com/lists/oss-security/2015/05/02/5

Other sources

The pingunhash 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 SOCKDGRAM socket system call for the IPPROTOICMP or IPPROTOICMPV6 protocol, and then making a connect system call after a disconnect.

Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel<=4.0.2
Debian Debian Linux=7.0
redhat Enterprise Linux=6.0
Canonical Ubuntu Linux=12.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

May 4, 2015
Data Sourced
via Red Hat·07:53 AM
DescriptionSeverityAffected Software
Aug 6, 2015
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:09 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:08 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:19 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-3636?

CVE-2015-3636 is considered a high severity vulnerability due to its potential to crash affected systems through a local user exploiting a use-after-free flaw.

2

How do I fix CVE-2015-3636?

To mitigate CVE-2015-3636, update the Linux kernel to a version that is not affected, specifically versions later than 4.0.2.

3

Which systems are affected by CVE-2015-3636?

CVE-2015-3636 affects Linux kernel versions up to 4.0.2, Debian GNU/Linux 7.0, Red Hat Enterprise Linux 6.0, and Ubuntu Linux 12.04.

4

What can an attacker do with CVE-2015-3636?

An attacker can use CVE-2015-3636 to create ping sockets that may lead to system crashes on vulnerable x86-64 architecture systems.

5

Is CVE-2015-3636 specific to a particular architecture?

Yes, CVE-2015-3636 is primarily a concern for systems running on the x86-64 architecture.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203