Memory Leak Affecting bpftool package, versions <0:4.18.0-147.el8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (40th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-BPFTOOL-3541408
  • published26 Jul 2021
  • disclosed4 Sept 2019

Introduced: 4 Sep 2019

CVE-2019-15921  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade RHEL:8 bpftool to version 0:4.18.0-147.el8 or higher.
This issue was patched in RHSA-2019:3517.

NVD Description

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

An issue was discovered in the Linux kernel before 5.0.6. There is a memory leak issue when idr_alloc() fails in genl_register_family() in net/netlink/genetlink.c.

CVSS Scores

version 3.1