Refcount used before initialization in Linux kernel mlx5 RDMA driver
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel RDMA mlx5 driver is affected from 3.11 until the fixed versions. The create_resource_common function inserts a QP, RQ or SQ resource into the radix tree before its initialization finishes, so the reference count is still zero when a firmware event arrives. The refcount API then treats the increment as a use-after-free, saturates the counter, and permanently breaks the resource's lifecycle tracking.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.11 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 3.11 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
The Linux kernel fixed versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139592
- 2026-11-30 Alias added: GHSA-jxq2-64vh-g76g
References
Other 8
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139592 · CVE Program
- CVE-2026-139592 · NVD
- GHSA-jxq2-64vh-g76g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences