# net/mlx5: Fix variable not being completed when function returns

CVE record · `CVE-2025-21662`

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

Published by the CVE Program (CNA: Linux) at 21 Jan 2025, 12:18 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: `4baae687a20ef2b82fde12de3c04461e6f2521d6 to before f0a2808767ac39f64b1d9a0ff865c255073cf3d4` (git)
  - affected: `f9caccdd42e999b74303c9b0643300073ed5d319 to before 229cc10284373fbe754e623b7033dca7e7470ec8` (git)
  - affected: `485d65e1357123a697c591a5aeb773994b247ad7 to before 36124081f6ffd9dfaad48830bdf106bb82a9457d` (git)
  - affected: `485d65e1357123a697c591a5aeb773994b247ad7 to before 0e2909c6bec9048f49d0c8e16887c63b50b14647` (git)
  - affected: `2d0962d05c93de391ce85f6e764df895f47c8918` (git)
  - affected: `94024332a129c6e4275569d85c0c1bfb2ae2d71b` (git)
  - affected: `6.1.93 to before 6.1.125` (semver)
  - affected: `6.6.33 to before 6.6.72` (semver)
  - affected: `6.8.12 to before 6.9` (semver)
  - affected: `6.9.3 to before 6.10` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.10`
  - unaffected: `before 6.10` (semver)
  - unaffected: `6.1.125 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.72 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.10 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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

This record came from the full history of the CVE Program, published 21 Jan 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f0a2808767ac39f64b1d9a0ff865c255073cf3d4>
- <https://git.kernel.org/stable/c/229cc10284373fbe754e623b7033dca7e7470ec8>
- <https://git.kernel.org/stable/c/36124081f6ffd9dfaad48830bdf106bb82a9457d>
- <https://git.kernel.org/stable/c/0e2909c6bec9048f49d0c8e16887c63b50b14647>

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

---

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