Memory Leak Affecting bpftool package, versions <0:4.18.0-513.5.1.el8_9


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (10th 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-RHEL8-BPFTOOL-9554418
  • published28 Mar 2025
  • disclosed27 Mar 2025

Introduced: 27 Mar 2025

CVE-2023-52937  (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-513.5.1.el8_9 or higher.
This issue was patched in RHSA-2023:7077.

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.

In the Linux kernel, the following vulnerability has been resolved:

HV: hv_balloon: fix memory leak with using debugfs_lookup()

When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.

CVSS Base Scores

version 3.1