Use After Free Affecting perf package, versions <0:2.6.32-504.30.3.el6


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-PERF-2118497
  • published26 Jul 2021
  • disclosed2 May 2015

Introduced: 2 May 2015

CVE-2015-3636  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Centos:6 perf to version 0:2.6.32-504.30.3.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1