Race Condition Affecting perf package, versions <0:3.10.0-862.el7


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.36% (28th 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 IDSNYK-CENTOS7-PERF-2101510
  • published26 Jul 2021
  • disclosed19 Dec 2017

Introduced: 19 Dec 2017

CVE-2017-15129  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Centos:7 perf to version 0:3.10.0-862.el7 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:7 relevant fixed versions and status.

A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11. The function get_net_ns_by_id() in net/core/net_namespace.c does not check for the net::count value after it has found a peer network in netns_ids idr, which could lead to double free and memory corruption. This vulnerability could allow an unprivileged local user to induce kernel memory corruption on the system, leading to a crash. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although it is thought to be unlikely.

CVSS Base Scores

version 3.1