What’s Vulnerable › Vulnerabilities
CVE-2025-39830: net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-16 · updated 2026-10-21
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path In the error path of hws_pool_buddy_init(), the buddy allocator cleanup doesn't free the allocator structure itself, causing a memory leak. Add the missing kfree() to properly release all allocated memory.
Affected products
- Linux kernel: from 6.12 before 6.16.5; 6.17-rc1, 6.17-rc2, 6.17-rc3 — fixed in 6.16.5
How to fix
Upgrade to a fixed version: Linux kernel 6.16.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2c0a959bebdc1ada13cf9a8242f177c5400299e6
- https://git.kernel.org/stable/c/4ccdbf50dd88a2a7399409e68887dd8077f6a562
- https://git.kernel.org/stable/c/86d13a6f49cb68aa91bd718b1b627e72e77285c1
Get alerted when CVE-2025-39830 or the next vulnerability affects your stack