CVE-2025-39830Published Sep 16, 2025 · Sep 16Updated Oct 28
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.1146.16.56.17In 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.
From the CVE record · Linux
The Linux kernel's net/mlx5 HWS buddy allocator leaks its allocator structure when initialization fails. The provided information does not establish whether an attacker can trigger the error path or what access or user interaction would be required.
Engineers running Linux kernels with net/mlx5 HWS should check their deployments; affected versions were not provided.