# cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path

CVE record · `CVE-2025-37788`

- **Identifiers:** `CVE-2025-37788`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 13:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before e9de08e15aee35b96064960f95997bb6c1209c4b` (git)
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before 118d05b530343cd9322607b9719405ba254a4183` (git)
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before fa2d7708955e4f8212fd69bab1da604e60cb0b15` (git)
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before 08aa59c0be768596467552c129e9f82166779a67` (git)
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before dafb6e433ab2333b67be05433dc9c6ccbc7b1284` (git)
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before 76deedea08899885f076aba0bb80bd1276446822` (git)
  - affected: `d915c299f1da68a7dbb43895b8741c7b916c9d08 to before 00ffb3724ce743578163f5ade2884374554ca021` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.9`
  - unaffected: `before 5.9` (semver)
  - unaffected: `5.10.237 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.181 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.135 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.88 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.25 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.4 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel cxgb4 driver is affected from version 5.9 until fixed. A memory leak in an error path of cxgb4_init_ethtool_filters() occurs when one bitmap allocation fails after another succeeds, and the source gives few details on what an attacker would need. Upgrade to 5.10.237, 5.15.181, 6.1.135, 6.6.88, or a later release in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2025, 13:07 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-37788)
- 1 May 2025, 14:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-37788)

## Sources

- [CVE List: CVE-2025-37788](https://www.cve.org/CVERecord?id=CVE-2025-37788)
- [NVD: CVE-2025-37788](https://nvd.nist.gov/vuln/detail/CVE-2025-37788)

### References from the CNA

- <https://git.kernel.org/stable/c/e9de08e15aee35b96064960f95997bb6c1209c4b>
- <https://git.kernel.org/stable/c/118d05b530343cd9322607b9719405ba254a4183>
- <https://git.kernel.org/stable/c/fa2d7708955e4f8212fd69bab1da604e60cb0b15>
- <https://git.kernel.org/stable/c/08aa59c0be768596467552c129e9f82166779a67>
- <https://git.kernel.org/stable/c/dafb6e433ab2333b67be05433dc9c6ccbc7b1284>
- <https://git.kernel.org/stable/c/76deedea08899885f076aba0bb80bd1276446822>
- <https://git.kernel.org/stable/c/00ffb3724ce743578163f5ade2884374554ca021>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-37788>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-37788/>. Everything for agents: <https://agentprime.io/llms.txt>.
