CVE-2025-39834

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedSep 16, 2025
First seenSep 16, 2025
Weakness typeCWE-401CWE-401

How to fix

Update
  • linux linux_kernel6.16.5 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.12 ≤ v < 6.16.5, 6.176.16.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.