# RDMA/mlx5: Initialize obj_event->obj_sub_list before xa_insert

CVE record · `CVE-2025-38387`

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

Published by the CVE Program (CNA: Linux) at 25 Jul 2025, 12:53 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: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 972e968aac0dce8fe8faad54f6106de576695d8e` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 00ed215f593876385451423924fe0358c556179c` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 9a28377a96fb299c180dd9cf0be3b0a038a52d4e` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 23a3b32a274a8d6f33480d0eff436eb100981651` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 93fccfa71c66a4003b3d2fef3a38de7307e14a4e` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before e8069711139249994450c214cec152b917b959e0` (git)
  - affected: `7597385371425febdaa8c6a1da3625d4ffff16f5 to before 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.3`
  - unaffected: `before 5.3` (semver)
  - unaffected: `5.4.296 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.240 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.187 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.144 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.97 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.37 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.6 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

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

> The Linux kernel RDMA mlx5 driver (mlx5_ib) is affected from version 5.3 until fixed, and the stable 5.4, 5.10, 5.15, and 6.1 series are listed as unaffected from 5.4.296, 5.10.240, 5.15.187, and 6.1.144 onward. An initialization-order bug can cause a NULL pointer dereference and kernel crash when an event object is used right after insertion. The source gives few details on what an attacker would need. Upgrade the Linux kernel to 5.4.296, 5.10.240, 5.15.187, or 6.1.144 or later in the matching series.

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

## Timeline

- 25 Jul 2025, 12:53 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38387)
- 25 Jul 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38387)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/716b555fc0580c2aa4c2c32ae4401c7e3ad9873e>
- <https://git.kernel.org/stable/c/972e968aac0dce8fe8faad54f6106de576695d8e>
- <https://git.kernel.org/stable/c/00ed215f593876385451423924fe0358c556179c>
- <https://git.kernel.org/stable/c/9a28377a96fb299c180dd9cf0be3b0a038a52d4e>
- <https://git.kernel.org/stable/c/23a3b32a274a8d6f33480d0eff436eb100981651>
- <https://git.kernel.org/stable/c/93fccfa71c66a4003b3d2fef3a38de7307e14a4e>
- <https://git.kernel.org/stable/c/e8069711139249994450c214cec152b917b959e0>
- <https://git.kernel.org/stable/c/8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a>

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

---

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