CVE-2025-39830: net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path

Published Sep 16, 2025
·
Updated

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

net/mlx5: HWS, Fix memory leak in hwspoolbuddyinit error path

In the error path of hwspoolbuddyinit(), 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 Software

5 affected components
Linux Kernel
Linux Linux kernel>=6.12<6.16.5
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3

Event History

Sep 16, 2025
CVE Published
via MITRE·01:08 PM
Data Sourced
via MITRE·01:08 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39830?

CVE-2025-39830 is classified as a medium-severity vulnerability due to its potential to cause memory leaks in the Linux kernel.

2

How do I fix CVE-2025-39830?

To fix CVE-2025-39830, update your Linux kernel to the latest stable version where the memory leak has been resolved.

3

What systems are affected by CVE-2025-39830?

CVE-2025-39830 affects certain versions of the Linux kernel, specifically those utilizing the net/mlx5 networking driver.

4

What does CVE-2025-39830 affect in the Linux kernel?

CVE-2025-39830 affects the hws_pool_buddy_init function in the Linux kernel, which is responsible for memory allocation.

5

Are there any known exploits for CVE-2025-39830?

As of now, there are no publicly known exploits specifically targeting CVE-2025-39830.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203