Memory Leak Affecting libperf package, versions <0:5.14.0-687.5.1.el9_8


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.15% (5th 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-ALMALINUX9-LIBPERF-17234789
  • published8 Jun 2026
  • disclosed19 May 2026

Introduced: 19 May 2026

CVE-2025-38405  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 libperf to version 0:5.14.0-687.5.1.el9_8 or higher.
This issue was patched in ALSA-2026:18587.

NVD Description

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

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

nvmet: fix memory leak of bio integrity

If nvmet receives commands with metadata there is a continuous memory leak of kmalloc-128 slab or more precisely bio->bi_integrity.

Since commit bf4c89fc8797 ("block: don't call bio_uninit from bio_endio") each user of bio_init has to use bio_uninit as well. Otherwise the bio integrity is not getting free. Nvmet uses bio_init for inline bios.

Uninit the inline bio to complete deallocation of integrity in bio.

CVSS Base Scores

version 3.1