# CVE-2025-38387: RDMA/mlx5: Initialize obj\_event-\>obj\_sub\_list before xa\_insert

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-07-25T12:53:27.945Z
- **Modified:** 2026-11-05T21:18:29.667Z

## Who should check

- Anyone running Linux \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 972e968aac0dce8fe8faad54f6106de576695d8e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 00ed215f593876385451423924fe0358c556179c; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 9a28377a96fb299c180dd9cf0be3b0a038a52d4e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 23a3b32a274a8d6f33480d0eff436eb100981651; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 93fccfa71c66a4003b3d2fef3a38de7307e14a4e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< e8069711139249994450c214cec152b917b959e0; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a
- Anyone running Linux 5.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Initialize obj\_event-\>obj\_sub\_list before xa\_insert

The obj\_event may be loaded immediately after inserted, then if the
list\_head is not initialized then we may get a poisonous pointer.  This
fixes the crash below:

 mlx5\_core 0000:03:00.0: MLX5E: StrdRq(1) RqSz(8) StrdSz(2048) RxCqeCmprss(0 enhanced)
 mlx5\_core.sf mlx5\_core.sf.4: firmware version: 32.38.3056
 mlx5\_core 0000:03:00.0 en3f0pf0sf2002: renamed from eth0
 mlx5\_core.sf mlx5\_core.sf.4: Rate limit: 127 rates are supported, range: 0Mbps to 195312Mbps
 IPv6: ADDRCONF(NETDEV\_CHANGE): en3f0pf0sf2002: link becomes ready
 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000060
 Mem abort info:
   ESR = 0x96000006
   EC = 0x25: DABT (current EL), IL = 32 bits
   SET = 0, FnV = 0
   EA = 0, S1PTW = 0
 Data abort info:
   ISV = 0, ISS = 0x00000006
   CM = 0, WnR = 0
 user pgtable: 4k pages, 48-bit VAs, pgdp=00000007760fb000
 \[0000000000000060\] pgd=000000076f6d7003, p4d=000000076f6d7003, pud=0000000777841003, pmd=0000000000000000
 Internal error: Oops: 96000006 \[\#1\] SMP
 Modules linked in: ipmb\_host(OE) act\_mirred(E) cls\_flower(E) sch\_ingress(E) mptcp\_diag(E) udp\_diag(E) raw\_diag(E) unix\_diag(E) tcp\_diag(E) inet\_diag(E) binfmt\_misc(E) bonding(OE) rdma\_ucm(OE) rdma\_cm(OE) iw\_cm(OE) ib\_ipoib(OE) ib\_cm(OE) isofs(E) cdrom(E) mst\_pciconf(OE) ib\_umad(OE) mlx5\_ib(OE) ipmb\_dev\_int(OE) mlx5\_core(OE) kpatch\_15237886(OEK) mlxdevm(OE) auxiliary(OE) ib\_uverbs(OE) ib\_core(OE) psample(E) mlxfw(OE) tls(E) sunrpc(E) vfat(E) fat(E) crct10dif\_ce(E) ghash\_ce(E) sha1\_ce(E) sbsa\_gwdt(E) virtio\_console(E) ext4(E) mbcache(E) jbd2(E) xfs(E) libcrc32c(E) mmc\_block(E) virtio\_net(E) net\_failover(E) failover(E) sha2\_ce(E) sha256\_arm64(E) nvme(OE) nvme\_core(OE) gpio\_mlxbf3(OE) mlx\_compat(OE) mlxbf\_pmc(OE) i2c\_mlxbf(OE) sdhci\_of\_dwcmshc(OE) pinctrl\_mlxbf3(OE) mlxbf\_pka(OE) gpio\_generic(E) i2c\_core(E) mmc\_core(E) mlxbf\_gige(OE) vitesse(E) pwr\_mlxbf(OE) mlxbf\_tmfifo(OE) micrel(E) mlxbf\_bootctl(OE) virtio\_ring(E) virtio(E) ipmi\_devintf(E) ipmi\_msghandler(E)
  \[last unloaded: mst\_pci\]
 CPU: 11 PID: 20913 Comm: rte-worker-11 Kdump: loaded Tainted: G           OE K   5.10.134-13.1.an8.aarch64 \#1
 Hardware name: https://www.mellanox.com BlueField-3 SmartNIC Main Card/BlueField-3 SmartNIC Main Card, BIOS 4.2.2.12968 Oct 26 2023
 pstate: a0400089 (NzCv daIf +PAN -UAO -TCO BTYPE=--)
 pc : dispatch\_event\_fd+0x68/0x300 \[mlx5\_ib\]
 lr : devx\_event\_notifier+0xcc/0x228 \[mlx5\_ib\]
 sp : ffff80001005bcf0
 x29: ffff80001005bcf0 x28: 0000000000000001
 x27: ffff244e0740a1d8 x26: ffff244e0740a1d0
 x25: ffffda56beff5ae0 x24: ffffda56bf911618
 x23: ffff244e0596a480 x22: ffff244e0596a480
 x21: ffff244d8312ad90 x20: ffff244e0596a480
 x19: fffffffffffffff0 x18: 0000000000000000
 x17: 0000000000000000 x16: ffffda56be66d620
 x15: 0000000000000000 x14: 0000000000000000
 x13: 0000000000000000 x12: 0000000000000000
 x11: 0000000000000040 x10: ffffda56bfcafb50
 x9 : ffffda5655c25f2c x8 : 0000000000000010
 x7 : 0000000000000000 x6 : ffff24545a2e24b8
 x5 : 0000000000000003 x4 : ffff80001005bd28
 x3 : 0000000000000000 x2 : 0000000000000000
 x1 : ffff244e0596a480 x0 : ffff244d8312ad90
 Call trace:
  dispatch\_event\_fd+0x68/0x300 \[mlx5\_ib\]
  devx\_event\_notifier+0xcc/0x228 \[mlx5\_ib\]
  atomic\_notifier\_call\_chain+0x58/0x80
  mlx5\_eq\_async\_int+0x148/0x2b0 \[mlx5\_core\]
  atomic\_notifier\_call\_chain+0x58/0x80
  irq\_int\_handler+0x20/0x30 \[mlx5\_core\]
  \_\_handle\_irq\_event\_percpu+0x60/0x220
  handle\_irq\_event\_percpu+0x3c/0x90
  handle\_irq\_event+0x58/0x158
  handle\_fasteoi\_irq+0xfc/0x188
  generic\_handle\_irq+0x34/0x48
  ...

## Affected and fixed versions

- Linux: \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 972e968aac0dce8fe8faad54f6106de576695d8e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 00ed215f593876385451423924fe0358c556179c; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 9a28377a96fb299c180dd9cf0be3b0a038a52d4e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 23a3b32a274a8d6f33480d0eff436eb100981651; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 93fccfa71c66a4003b3d2fef3a38de7307e14a4e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< e8069711139249994450c214cec152b917b959e0; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38387. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38387.md
Affected: Linux >= 7597385371425febdaa8c6a1da3625d4ffff16f5, < 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e; >= 7597385371425febdaa8c6a1da3625d4ffff16f5, < 972e968aac0dce8fe8faad54f6106de576695d8e; >= 7597385371425febdaa8c6a1da3625d4ffff16f5, < 00ed215f593876385451423924fe0358c556179c; >= 7597385371425febdaa8c6a…
Fixed in: Linux 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e, Linux 972e968aac0dce8fe8faad54f6106de576695d8e, Linux 00ed215f593876385451423924fe0358c556179c, Linux 9a28377a96fb299c180dd9cf0be3b0a038a52d4e, Linux 23a3b32a274a8d6f33480d0eff436eb100981651, Linux 93fccfa71c66a4003b3d2fef3a38de7307e14a4e, Linux 8edab…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38387 being exploited?

There is no confirmed exploitation: CVE-2025-38387 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38387?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38387?

Linux \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 972e968aac0dce8fe8faad54f6106de576695d8e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 00ed215f593876385451423924fe0358c556179c; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 9a28377a96fb299c180dd9cf0be3b0a038a52d4e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 23a3b32a274a8d6f33480d0eff436eb100981651; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 93fccfa71c66a4003b3d2fef3a38de7307e14a4e; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< e8069711139249994450c214cec152b917b959e0; \>= 7597385371425febdaa8c6a1da3625d4ffff16f5, \< 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a; Linux 5.3.

### Is there a fix for CVE-2025-38387?

Yes. Fixed in Linux 716b555fc0580c2aa4c2c32ae4401c7e3ad9873e, Linux 972e968aac0dce8fe8faad54f6106de576695d8e, Linux 00ed215f593876385451423924fe0358c556179c, Linux 9a28377a96fb299c180dd9cf0be3b0a038a52d4e, Linux 23a3b32a274a8d6f33480d0eff436eb100981651, Linux 93fccfa71c66a4003b3d2fef3a38de7307e14a4e, Linux 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a. Upgrade Linux to 8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a or later.

### How do I check if I'm affected by CVE-2025-38387?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/716b555fc0580c2aa4c2c32ae4401c7e3ad9873e>
- patch: <https://git.kernel.org/stable/c/972e968aac0dce8fe8faad54f6106de576695d8e>
- patch: <https://git.kernel.org/stable/c/00ed215f593876385451423924fe0358c556179c>
- patch: <https://git.kernel.org/stable/c/9a28377a96fb299c180dd9cf0be3b0a038a52d4e>
- patch: <https://git.kernel.org/stable/c/23a3b32a274a8d6f33480d0eff436eb100981651>
- patch: <https://git.kernel.org/stable/c/93fccfa71c66a4003b3d2fef3a38de7307e14a4e>
- patch: <https://git.kernel.org/stable/c/e8069711139249994450c214cec152b917b959e0>
- patch: <https://git.kernel.org/stable/c/8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38387>

HTML: <https://flawdb.com/CVE-2025-38387> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38387>
