CVE-2025-39834Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 94.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 16

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow When an invalid stc_type is provided, the function allocates memory for shared_stc but jumps to unlock_and_out without freeing it, causing a memory leak. Fix by jumping to free_shared_stc label instead to ensure proper cleanup.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel6.126.16.5+1
Debianlinux/linux_kernel< 6.16.5-1
CVEListV5linux/linux504e536d90104c850731840d3fbc95acf251f11b051fd8576a2e4e95d5870c5c9f8679c5b16882e4+2
debiandebian/linux< linux 6.16.5-1 (forky)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-45vc-784v-vp78: In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow When2025-09-16
OSV
CVE-2025-39834: In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow When an2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow2025-09-16
Debian
CVE-2025-39834: linux - In the Linux kernel, the following vulnerability has been resolved: net/mlx5: H...2025
CVE-2025-39834 — Linux vulnerability | cvebase