CVE Catalog

CVE-2025-39834

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

In the Linux kernel, the net/mlx5 HWS function hws_action_get_shared_stc_nic allocates memory for shared_stc when an invalid stc_type is provided, but jumps to unlock_and_out without freeing it, causing a memory leak. The fix jumps to the free_shared_stc label to ensure proper cleanup.

Risk Assessment

A memory leak can lead to gradual exhaustion of kernel resources, resulting in system instability or denial of service. Exploitation requires calling the function with an invalid parameter, which may be difficult to trigger remotely.

Recommendation

Update the Linux kernel to a version containing the fix. Monitor memory usage on systems with Mellanox mlx5 cards.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS