CVE-2025-39834

Source
https://cve.org/CVERecord?id=CVE-2025-39834
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39834.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39834
Downstream
Related
Published
2025-09-16T13:08:50.896Z
Modified
2026-03-20T12:43:04.445186Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow
Details

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

net/mlx5: HWS, Fix memory leak in hwsactiongetsharedstc_nic error flow

When an invalid stctype is provided, the function allocates memory for sharedstc but jumps to unlockandout without freeing it, causing a memory leak.

Fix by jumping to freesharedstc label instead to ensure proper cleanup.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39834.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
504e536d90104c850731840d3fbc95acf251f11b
Fixed
051fd8576a2e4e95d5870c5c9f8679c5b16882e4
Fixed
a630f83592cdad1253523a1b760cfe78fef6cd9c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39834.json"