# RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction

CVE record · `CVE-2025-38161`

- **Identifiers:** `CVE-2025-38161`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 3 Jul 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 3 Jul 2025, 08:36 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: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before 26d2f662d3a6655a82fd8a287e8b1ce471567f36` (git)
  - affected: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before f9784da76ad7be66230e829e743bdf68a2c49e56` (git)
  - affected: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before cf32affe6f3801cfb72a65e69c4bc7a8ee9be100` (git)
  - affected: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before 7c4c84cdcc19e89d42f6bf117238e5471173423e` (git)
  - affected: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before 50ac361ff8914133e3cf6ef184bac90c22cb8d79` (git)
  - affected: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before 0a7790cbba654e925243571cf2f24d61603d3ed3` (git)
  - affected: `e2013b212f9f201c71fc5826ce41f39ebece0852 to before 5d2ea5aebbb2f3ebde4403f9c55b2b057e5dd2d6` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.5`
  - unaffected: `before 4.5` (semver)
  - unaffected: `5.10.239 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.94 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.34 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.3 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 9th 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 3 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/26d2f662d3a6655a82fd8a287e8b1ce471567f36>
- <https://git.kernel.org/stable/c/f9784da76ad7be66230e829e743bdf68a2c49e56>
- <https://git.kernel.org/stable/c/cf32affe6f3801cfb72a65e69c4bc7a8ee9be100>
- <https://git.kernel.org/stable/c/7c4c84cdcc19e89d42f6bf117238e5471173423e>
- <https://git.kernel.org/stable/c/50ac361ff8914133e3cf6ef184bac90c22cb8d79>
- <https://git.kernel.org/stable/c/0a7790cbba654e925243571cf2f24d61603d3ed3>
- <https://git.kernel.org/stable/c/5d2ea5aebbb2f3ebde4403f9c55b2b057e5dd2d6>

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

---

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