# CVE-2026-139596: RDMA/mlx5: Set WQ event handler before firmware RQ insertion

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:36:12.924Z
- **Modified:** 2026-11-30T14:19:41.500Z

> **AI summary (AI-generated, claude-haiku-5-5):** A race in the Linux kernel's mlx5 RDMA driver lets a firmware WQ catastrophic error event hit a NULL event pointer, because the RQ was made visible before its event handler was set.

## Who should check

- Anyone running Linux \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< f90c9f79c4363a1b6ca40bc8903e655d033bdd40; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< b8612992507418f0a4fed6b3049006c1eb53c9eb; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 3422e2d07396b19b22b1682dcde8b2df9dc4e470; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 9d4cbcabe94b326f700557b63f246f43759fec11; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< f5f6f17a726f29ba7fb4471e7fdc079b83a79d33; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< d9209a51b0befd74b41b22ff126d21a38f89a8f9; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 6d92321cc794f388080d63862448454387be6c07; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6
- Anyone running Linux 4.9

## Description

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

RDMA/mlx5: Set WQ event handler before firmware RQ insertion

create\_rq() inserts the RQ into dev-\>qp\_table.tree, making it visible to
rsc\_event\_notifier() before rwq-\>core\_qp.event was assigned. A firmware
WQ\_CATAS\_ERROR event in that window finds a NULL event pointer.

Move the assignment before create\_rq().

## Affected and fixed versions

- Linux: \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< f90c9f79c4363a1b6ca40bc8903e655d033bdd40; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< b8612992507418f0a4fed6b3049006c1eb53c9eb; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 3422e2d07396b19b22b1682dcde8b2df9dc4e470; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 9d4cbcabe94b326f700557b63f246f43759fec11; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< f5f6f17a726f29ba7fb4471e7fdc079b83a79d33; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< d9209a51b0befd74b41b22ff126d21a38f89a8f9; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 6d92321cc794f388080d63862448454387be6c07; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6 (cvelist)
- Linux: 4.9 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-139596.md
Affected: Linux >= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, < f90c9f79c4363a1b6ca40bc8903e655d033bdd40; >= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, < b8612992507418f0a4fed6b3049006c1eb53c9eb; >= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, < 3422e2d07396b19b22b1682dcde8b2df9dc4e470; >= 350d0e4c7e4b03ed5646ac3…
Fixed in: Linux 3422e2d07396b19b22b1682dcde8b2df9dc4e470, Linux 9d4cbcabe94b326f700557b63f246f43759fec11, Linux 6d92321cc794f388080d63862448454387be6c07, Linux 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6

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-2026-139596 being exploited?

There is no confirmed exploitation: CVE-2026-139596 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139596?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139596?

Linux \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< f90c9f79c4363a1b6ca40bc8903e655d033bdd40; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< b8612992507418f0a4fed6b3049006c1eb53c9eb; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 3422e2d07396b19b22b1682dcde8b2df9dc4e470; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 9d4cbcabe94b326f700557b63f246f43759fec11; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< f5f6f17a726f29ba7fb4471e7fdc079b83a79d33; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< d9209a51b0befd74b41b22ff126d21a38f89a8f9; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 6d92321cc794f388080d63862448454387be6c07; \>= 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56, \< 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6; Linux 4.9.

### Is there a fix for CVE-2026-139596?

Yes. Fixed in Linux 3422e2d07396b19b22b1682dcde8b2df9dc4e470, Linux 9d4cbcabe94b326f700557b63f246f43759fec11, Linux 6d92321cc794f388080d63862448454387be6c07, Linux 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6. Upgrade Linux to 28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6 or later.

### How do I check if I'm affected by CVE-2026-139596?

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

- other: <https://git.kernel.org/stable/c/f90c9f79c4363a1b6ca40bc8903e655d033bdd40>
- other: <https://git.kernel.org/stable/c/b8612992507418f0a4fed6b3049006c1eb53c9eb>
- other: <https://git.kernel.org/stable/c/3422e2d07396b19b22b1682dcde8b2df9dc4e470>
- other: <https://git.kernel.org/stable/c/9d4cbcabe94b326f700557b63f246f43759fec11>
- other: <https://git.kernel.org/stable/c/f5f6f17a726f29ba7fb4471e7fdc079b83a79d33>
- other: <https://git.kernel.org/stable/c/d9209a51b0befd74b41b22ff126d21a38f89a8f9>
- other: <https://git.kernel.org/stable/c/6d92321cc794f388080d63862448454387be6c07>
- other: <https://git.kernel.org/stable/c/28c559d1e25de46bb6dd39e6fa1e93ea6abdf1f6>

## 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-2026-139596>

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