CVE-2025-39834: net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow

Published Sep 16, 2025
·
Updated

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

net/mlx5: HWS, Fix memory leak in hwsactiongetsharedstcnic error flow

When an invalid stctype is provided, the function allocates memory for sharedstc but jumps to unlockandout without freeing it, causing a memory leak.

Fix by jumping to freesharedstc label instead to ensure proper cleanup.

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-39834?

CVE-2025-39834 has a high severity level due to the potential memory leak which could affect system performance.

2

How do I fix CVE-2025-39834?

To fix CVE-2025-39834, you should update to the latest version of the Linux kernel that contains the relevant patch.

3

What systems are affected by CVE-2025-39834?

CVE-2025-39834 affects various versions of the Linux kernel where the memory leak in the mlx5 driver is present.

4

What impact does CVE-2025-39834 have on security?

CVE-2025-39834 may lead to resource exhaustion, impacting the stability and availability of the affected systems.

5

Is there a workaround for CVE-2025-39834?

There are no known workarounds for CVE-2025-39834, so applying the kernel update is the recommended approach.

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