CVE-2025-39841 Affecting kernel-tools-libs-devel package, versions <0:4.18.0-553.81.1.el8_10


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (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-ALMALINUX8-KERNELTOOLSLIBSDEVEL-13743966
  • published29 Oct 2025
  • disclosed20 Oct 2025

Introduced: 20 Oct 2025

NewCVE-2025-39841  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 kernel-tools-libs-devel to version 0:4.18.0-553.81.1.el8_10 or higher.
This issue was patched in ALSA-2025:19102.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-tools-libs-devel package and not the kernel-tools-libs-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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

scsi: lpfc: Fix buffer free/clear order in deferred receive path

Fix a use-after-free window by correcting the buffer release sequence in the deferred receive path. The code freed the RQ buffer first and only then cleared the context pointer under the lock. Concurrent paths (e.g., ABTS and the repost path) also inspect and release the same pointer under the lock, so the old order could lead to double-free/UAF.

Note that the repost path already uses the correct pattern: detach the pointer under the lock, then free it after dropping the lock. The deferred path should do the same.

CVSS Base Scores

version 3.1