# net/mlx5: handle errors in mlx5_chains_create_table()

CVE record · `CVE-2025-21975`

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

Published by the CVE Program (CNA: Linux) at 1 Apr 2025, 15:47 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: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9` (git)
  - affected: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6` (git)
  - affected: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2` (git)
  - affected: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 637105ef0d46fe5beac15aceb431da3ec832bb00` (git)
  - affected: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 1d34296409a519b4027750e3e82d9e19553a7398` (git)
  - affected: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before 093b4aaec97ec048623e3fe1e516fc45a954d412` (git)
  - affected: `39ac237ce00968545e7298faa9e07ecb7e440fb5 to before eab0396353be1c778eba1c0b5180176f04dd21ce` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.6`
  - unaffected: `before 5.6` (semver)
  - unaffected: `5.10.236 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.180 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.132 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.84 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.20 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.8 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 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.

> Linux kernel versions from 5.6 onward are affected by a missing error check in the mlx5 network driver's chain table creation. The source gives few details on how it can be triggered, but the missing checks can cause a NULL pointer dereference. Upgrade to 5.10.236, 5.15.180, 6.1.132, 6.6.84, 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.0021, the 11th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 Apr 2025, 15:47 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-21975)
- 1 Apr 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-21975)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/15bdd93728369b2c8942a8e5d549d4b5dc04a2d9>
- <https://git.kernel.org/stable/c/29c419c64e9b396baeda1d8713d2aa3ba7c0acf6>
- <https://git.kernel.org/stable/c/1598307c914ba3d2642a2b03d1ff11efbdb7c6c2>
- <https://git.kernel.org/stable/c/637105ef0d46fe5beac15aceb431da3ec832bb00>
- <https://git.kernel.org/stable/c/1d34296409a519b4027750e3e82d9e19553a7398>
- <https://git.kernel.org/stable/c/093b4aaec97ec048623e3fe1e516fc45a954d412>
- <https://git.kernel.org/stable/c/eab0396353be1c778eba1c0b5180176f04dd21ce>

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-21975>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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