# RDMA/iwcm: Fix use-after-free of work objects after cm_id destruction

CVE record · `CVE-2025-38211`

- **Identifiers:** `CVE-2025-38211`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Jul 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Jul 2025, 13:37 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.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before 013dcdf6f03bcedbaf1669e3db71c34a197715b2` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before bf7eff5e3a36c54bbe8aff7fd6dd7c07490b81c5` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before 3b4a50d733acad6831f6bd9288a76a80f70650ac` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before 78381dc8a6b61c9bb9987d37b4d671b99767c4a1` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before 23a707bbcbea468eedb398832eeb7e8e0ceafd21` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before 764c9f69beabef8bdc651a7746c59f7a340d104f` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before fd960b5ddf4faf00da43babdd3acda68842e1f6a` (git)
  - affected: `59c68ac31e15ad09d2cb04734e3c8c544a95f8d4 to before 6883b680e703c6b2efddb4e7a8d891ce1803d06b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.8`
  - unaffected: `before 4.8` (semver)
  - unaffected: `5.4.296 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.240 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.95 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.35 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.4 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0042, the 36th percentile, on 18 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 4 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/013dcdf6f03bcedbaf1669e3db71c34a197715b2>
- <https://git.kernel.org/stable/c/bf7eff5e3a36c54bbe8aff7fd6dd7c07490b81c5>
- <https://git.kernel.org/stable/c/3b4a50d733acad6831f6bd9288a76a80f70650ac>
- <https://git.kernel.org/stable/c/78381dc8a6b61c9bb9987d37b4d671b99767c4a1>
- <https://git.kernel.org/stable/c/23a707bbcbea468eedb398832eeb7e8e0ceafd21>
- <https://git.kernel.org/stable/c/764c9f69beabef8bdc651a7746c59f7a340d104f>
- <https://git.kernel.org/stable/c/fd960b5ddf4faf00da43babdd3acda68842e1f6a>
- <https://git.kernel.org/stable/c/6883b680e703c6b2efddb4e7a8d891ce1803d06b>

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

---

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