# CVE-2026-139592: RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it

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

> **AI summary (AI-generated, claude-haiku-5-5):** A race in the Linux kernel RDMA mlx5 driver lets a firmware event hit a resource refcount before initialization, causing refcount misuse that breaks resource lifecycle tracking.

## Who should check

- Anyone running Linux \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< a2fe324cdb430cd23d41948488b65a8529fb9ee1; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 69bcd39f042aab1b8b794c50f3affd038cee5056; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< e147bdda7834ed4188c84c5ead9f417faf8fa698; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< bca1076b86026bc6445fd97a1c5c1b86210c510e; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 674005307775811354545959b2d614b9095deb59; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 829a0e65deff3f826a7870a52404aeaf1a3fec3f
- Anyone running Linux 3.11

## Description

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

RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it

create\_resource\_common() inserted the resource into the radix tree
before its initialization was complete. A firmware EQE in that window
finds a zero refcount\_t and calls refcount\_inc() on it; the refcount API
treats this as a use-after-free, saturates the counter, and permanently
breaks the resource's lifecycle tracking.

Move the initialization before the radix\_tree\_insert().

## Affected and fixed versions

- Linux: \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< a2fe324cdb430cd23d41948488b65a8529fb9ee1; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 69bcd39f042aab1b8b794c50f3affd038cee5056; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< e147bdda7834ed4188c84c5ead9f417faf8fa698; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< bca1076b86026bc6445fd97a1c5c1b86210c510e; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 674005307775811354545959b2d614b9095deb59; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 829a0e65deff3f826a7870a52404aeaf1a3fec3f (cvelist)
- Linux: 3.11 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 829a0e65deff3f826a7870a52404aeaf1a3fec3f 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-139592. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139592.md
Affected: Linux >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < a2fe324cdb430cd23d41948488b65a8529fb9ee1; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 69bcd39f042aab1b8b794c50f3affd038cee5056; >= e126ba97dba9edeb6fafa36…
Fixed in: Linux 69bcd39f042aab1b8b794c50f3affd038cee5056, Linux 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360, Linux 674005307775811354545959b2d614b9095deb59, Linux 829a0e65deff3f826a7870a52404aeaf1a3fec3f

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-139592 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< a2fe324cdb430cd23d41948488b65a8529fb9ee1; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 69bcd39f042aab1b8b794c50f3affd038cee5056; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< e147bdda7834ed4188c84c5ead9f417faf8fa698; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< bca1076b86026bc6445fd97a1c5c1b86210c510e; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 674005307775811354545959b2d614b9095deb59; \>= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, \< 829a0e65deff3f826a7870a52404aeaf1a3fec3f; Linux 3.11.

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

Yes. Fixed in Linux 69bcd39f042aab1b8b794c50f3affd038cee5056, Linux 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360, Linux 674005307775811354545959b2d614b9095deb59, Linux 829a0e65deff3f826a7870a52404aeaf1a3fec3f. Upgrade Linux to 829a0e65deff3f826a7870a52404aeaf1a3fec3f or later.

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

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/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae>
- other: <https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1>
- other: <https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056>
- other: <https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698>
- other: <https://git.kernel.org/stable/c/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360>
- other: <https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e>
- other: <https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59>
- other: <https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f>

## 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-139592>

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