CVE-2025-37874
Last modified
CVE-2025-37874 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.2, < 6.6.88 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.25 | — |
| Linux | Linux Kernel | >= 6.13, < 6.14.4 | — |
| Linux | Linux Kernel | 6.15 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-37874?
How severe is CVE-2025-37874?
How do I fix CVE-2025-37874?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-37869In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-3787A vulnerability was found in PbootCMS 3.2.5. It has been cla…6.5
- CVE-2025-37870In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37871In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37872In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37873In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37875In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37876In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37877In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37878In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-37879In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-3788A vulnerability was found in baseweb JSite 1.0. It has been …5.4
Are you affected by CVE-2025-37874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
