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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:10.804Z
- Modified: 2026-11-30T14:19:40.950Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before d3d3ad4d0aa3aa3a204651ae47efa65afa45daae; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before a2fe324cdb430cd23d41948488b65a8529fb9ee1; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 69bcd39f042aab1b8b794c50f3affd038cee5056; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before e147bdda7834ed4188c84c5ead9f417faf8fa698; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before bca1076b86026bc6445fd97a1c5c1b86210c510e; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 674005307775811354545959b2d614b9095deb59; from e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c before 829a0e65deff3f826a7870a52404aeaf1a3fec3f; 3.11 (not affected: before 3.11; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

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

## Sources

- CVE List: [CVE-2026-139592](https://www.cve.org/CVERecord?id=CVE-2026-139592), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139592](https://nvd.nist.gov/vuln/detail/CVE-2026-139592), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139592 · Whole record: https://cve.day/CVE-2026-139592.json · Rebuilt by cve.day 2026-11-30T14:33:17.174Z
