CVE-2025-37874 Details
Description
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().
A memory leak vulnerability has been identified in the Linux kernel's ngbe network driver. When the ngbe_sw_init() function is called, memory is allocated for the RSS key. However, if ngbe_sw_init() encounters an error, the allocated memory for the RSS key is not freed, leading to a memory leak. This vulnerability affects several versions of the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/397487338eff1891c4654ce7deaafbf72a1688b2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7c2b66a31c7a4866400f7e6fb43cb32021bfca01 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8335a3feb9d0d97e5e8f76d38b6bb8573d5b4a29 | kernel.org | Patch |
| https://git.kernel.org/stable/c/88fa80021b77732bc98f73fb69d69c7cc37b9f0d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.2, < 6.6.88 >= 6.7, < 6.12.25 >= 6.13, < 6.14.4 6.15 rc1 6.15 rc2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | Initial Analysis | [email protected] |
| May 9, 2025 | New CVE Received | kernel.org |