Bug 2395776 (CVE-2025-39830) - CVE-2025-39830 kernel: net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
Summary: CVE-2025-39830 kernel: net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init ...
Keywords:
Status: NEW
Alias: CVE-2025-39830
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-16 14:01 UTC by OSIDB Bzimport
Modified: 2025-09-16 16:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-16 14:01:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.