CVE-2026-139592
RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it
AI summary AI generated
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.
Mitigation
- Upgrade Linux to 829a0e65deff3f826a7870a52404aeaf1a3fec3f or later.
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
Vulnerability facts
- Affected
- Linux >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < a2fe324cdb430cd23d41948488b65a8529fb9ee1; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 69bcd39f042aab1b8b794c50f3affd038cee5056; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < e147bdda7834ed4188c84c5ead9f417faf8fa698; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < bca1076b86026bc6445fd97a1c5c1b86210c510e; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 674005307775811354545959b2d614b9095deb59; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 829a0e65deff3f826a7870a52404aeaf1a3fec3f; Linux 3.11
- Fixed in
- Linux 69bcd39f042aab1b8b794c50f3affd038cee5056, Linux 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360, Linux 674005307775811354545959b2d614b9095deb59, Linux 829a0e65deff3f826a7870a52404aeaf1a3fec3f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < a2fe324cdb430cd23d41948488b65a8529fb9ee1; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 69bcd39f042aab1b8b794c50f3affd038cee5056; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < e147bdda7834ed4188c84c5ead9f417faf8fa698; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < bca1076b86026bc6445fd97a1c5c1b86210c510e; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 674005307775811354545959b2d614b9095deb59; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 829a0e65deff3f826a7870a52404aeaf1a3fec3f | — | cvelist |
| Linux | 3.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
Other
- https://git.kernel.org/stable/c/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae
- https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1
- https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056
- https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698
- https://git.kernel.org/stable/c/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360
- https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e
- https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59
- https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |