
9/5/2025

9/5/2025
CVE-2025-37874: net: ngbe: fix memory leak in ngbe_probe() error path
First published: Fri May 09 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved:
net: ngbe: fix memory leak in ngbe_probe() error path
When ngbe_sw_init() is called, memory is allocated for wx->rss_key
in wx_init_rss_key(). However, in ngbe_probe() function, the subsequent
error paths after ngbe_sw_init() don't free the rss_key. Fix that by
freeing it in error path along with wx->mac_table.
Also change the label to which execution jumps when ngbe_sw_init()
fails, because otherwise, it could lead to a double free for rss_key,
when the mac_table allocation fails in wx_sw_init().
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|
Linux kernel | | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2025-37874?
CVE-2025-37874 is classified as a moderate severity vulnerability in the Linux kernel.
What impact does CVE-2025-37874 have on system performance?
CVE-2025-37874 can lead to memory leaks which may degrade system performance over time.
How do I fix CVE-2025-37874?
To fix CVE-2025-37874, update the Linux kernel to the latest stable version where this vulnerability has been addressed.
Is CVE-2025-37874 exploitable remotely?
CVE-2025-37874 is not classified as a remotely exploitable vulnerability.
What version of the Linux kernel is affected by CVE-2025-37874?
CVE-2025-37874 affects various versions of the Linux kernel prior to the patch for the identified vulnerability.
- collector/mitre-cve
- source/MITRE
- agent/references
- agent/title
- agent/weakness
- agent/type
- agent/first-publish-date
- agent/description
- collector/nvd-api
- source/NVD
- agent/author
- agent/last-modified-date
- agent/source
- agent/event
- agent/tags
- agent/softwarecombine
- agent/guess-ai
- agent/software-canonical-lookup
- agent/software-canonical-lookup-request
- vendor/linux
- canonical/linux kernel
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203