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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 16 Sep 2025 13:30:00 +0000

Type Values Removed Values Added
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.
Title net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-09-16T13:08:48.110Z

Reserved: 2025-04-16T07:20:57.140Z

Link: CVE-2025-39830

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-09-16T14:15:51.183

Modified: 2025-09-16T14:15:51.183

Link: CVE-2025-39830

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.