# RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem

CVE record · `CVE-2025-38022`

- **Identifiers:** `CVE-2025-38022`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 09:28 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: `53e9a5a692f839780084ad81dbd461ec917f74f7 to before ba467b6870ea2a73590478d9612d6ea1dcdd68b7` (git)
  - affected: `779e0bf47632c609c59f527f9711ecd3214dccb0 to before 5629064f92f0de6d6b3572055cd35361c3ad953c` (git)
  - affected: `779e0bf47632c609c59f527f9711ecd3214dccb0 to before 312dae3499106ec8cb7442ada12be080aa9fbc3b` (git)
  - affected: `779e0bf47632c609c59f527f9711ecd3214dccb0 to before 17d3103325e891e10994e7aa28d12bea04dc2c60` (git)
  - affected: `779e0bf47632c609c59f527f9711ecd3214dccb0 to before 10c7f1c647da3b77ef8827d974a97b6530b64df0` (git)
  - affected: `779e0bf47632c609c59f527f9711ecd3214dccb0 to before 03df57ad4b0ff9c5a93ff981aba0b42578ad1571` (git)
  - affected: `779e0bf47632c609c59f527f9711ecd3214dccb0 to before d0706bfd3ee40923c001c6827b786a309e2a8713` (git)
  - affected: `9b54e31fd08f8d8db507d021c88e760d5f8e4640` (git)
  - affected: `5.10.4 to before 5.10.248` (semver)
  - affected: `5.4.86 to before 5.5` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.11`
  - unaffected: `before 5.11` (semver)
  - unaffected: `5.10.248 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.198 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.160 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.120 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.30 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.8 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 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.0021, the 11th 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 18 Jun 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ba467b6870ea2a73590478d9612d6ea1dcdd68b7>
- <https://git.kernel.org/stable/c/5629064f92f0de6d6b3572055cd35361c3ad953c>
- <https://git.kernel.org/stable/c/312dae3499106ec8cb7442ada12be080aa9fbc3b>
- <https://git.kernel.org/stable/c/17d3103325e891e10994e7aa28d12bea04dc2c60>
- <https://git.kernel.org/stable/c/10c7f1c647da3b77ef8827d974a97b6530b64df0>
- <https://git.kernel.org/stable/c/03df57ad4b0ff9c5a93ff981aba0b42578ad1571>
- <https://git.kernel.org/stable/c/d0706bfd3ee40923c001c6827b786a309e2a8713>

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

---

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