# RDMA/mlx5: Fix implicit ODP hang on parent deregistration

CVE record · `CVE-2025-21886`

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

Published by the CVE Program (CNA: Linux) at 27 Mar 2025, 14:57 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: `032f3f799fdb807a21467b7dc7d620395a735e2b to before 641e50b27e87d7cd0d194f7a164703de599055b1` (git)
  - affected: `7cc8f681f6d4ae4478ae0f60485fc768f2b450da to before cb96ae783e7249e8e5a50c22952c0bb2983133df` (git)
  - affected: `edfb65dbb9ffd3102f3ff4dd21316158e56f1976 to before a095ede2daca49d15e74d66d014883f2fa8bb924` (git)
  - affected: `d3d930411ce390e532470194296658a960887773 to before 3d8c6f26893d55fab218ad086719de1fc9bb86ba` (git)
  - affected: `a306dfff6b76aafa264ad33874a8992a8d5858b7` (git)
  - affected: `6.6.160 to before 6.7` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.12.13 to before 6.12.18` (semver)
  - affected: `6.13.2 to before 6.13.6` (semver)
  - Other versions: unaffected

## Machine-written summary

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

> The Linux kernel RDMA/mlx5 driver is affected by a flaw in implicit On-Demand Paging memory region handling. The destroy_unused_implicit_child_mr() path increments a parent reference count and does not release it when the cleanup work is not scheduled, so deregistering a parent memory region can hang. The source does not describe an attacker or the conditions needed to trigger it. The fix is in newer kernel versions; no upgrade version is listed for each affected branch in the record beyond the commits, so update to a kernel release that includes the fix.

Written 13 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.0024, the 15th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Mar 2025, 14:57 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-21886)
- 27 Mar 2025, 15:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-21886)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/641e50b27e87d7cd0d194f7a164703de599055b1>
- <https://git.kernel.org/stable/c/cb96ae783e7249e8e5a50c22952c0bb2983133df>
- <https://git.kernel.org/stable/c/a095ede2daca49d15e74d66d014883f2fa8bb924>
- <https://git.kernel.org/stable/c/3d8c6f26893d55fab218ad086719de1fc9bb86ba>

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

---

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