CVE-2026-139592
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
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().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139592 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139592 changed 2026-11-30Public domain