CVE-2025-37788: Linux Kernel - Memory Leak
- Cve: CVE-2025-37788
- Name: Linux Kernel - Memory Leak
- Description: In the Linux kernel, the following vulnerability has been resolved: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path In the for loop used to allocate the loc_array and bmap for each port, a memory leak is possible when the allocation for loc_array succeeds, but the allocation for bmap fails. This is because when the control flow goes to the label free_eth_finfo, only the allocations starting from (i-1)th iteration are freed. Fix that by freeing the loc_array in the bmap allocation error path.
- Impact: Memory leak can lead to memory exhaustion, potentially causing denial of service or system instability.
- Remediation: Update to the latest Linux kernel version where the fix has been applied.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00202
- Epss percentile: 0.10065
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2025-05-01T14:15:43Z
- Age in days: 572
- Modified at: 2026-11-05T21:17:52Z
- Patch available: yes
- References total: 9
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-37788
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 6.15 rc1; = 6.15 rc2; >= 6.13, < 6.14.4; >= 6.7, < 6.12.25; >= 6.2, < 6.6.88; >= 5.16, < 6.1.135; >= 5.11, < 5.15.181; >= 5.9, < 5.10.237 | no | nvd | /v1/products/linux/linux_kernel |
| debian:debian_linux | = 11.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports