Skip to main content
Network Thinking Solutions Logo

CVE-2025-37788

Linux kernel: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path

All CVEs
CVE-2025-37788Published 5/1/2025

Linux kernel: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
5/1/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.9, < 5.10.237

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.181

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.135

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.88

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.25

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.14.4

Verify advisory

Source
linux kernel
linux
6.15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < e9de08e15aee35b96064960f95997bb6c1209c4b

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < 118d05b530343cd9322607b9719405ba254a4183

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < fa2d7708955e4f8212fd69bab1da604e60cb0b15

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < 08aa59c0be768596467552c129e9f82166779a67

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < dafb6e433ab2333b67be05433dc9c6ccbc7b1284

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < 76deedea08899885f076aba0bb80bd1276446822

Verify advisory

Source
Linux
Linux
≥ d915c299f1da68a7dbb43895b8741c7b916c9d08, < 00ffb3724ce743578163f5ade2884374554ca021

Verify advisory

Source
Linux
Linux
5.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.