Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139592

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < d3d3ad4d0aa3aa3a204651ae47efa65afa45daaeaffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < a2fe324cdb430cd23d41948488b65a8529fb9ee1affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < 69bcd39f042aab1b8b794c50f3affd038cee5056affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < e147bdda7834ed4188c84c5ead9f417faf8fa698affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < 3dfebc28751fde6f3be0ddc1c1bcb22b96a72360affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < bca1076b86026bc6445fd97a1c5c1b86210c510eaffected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < 674005307775811354545959b2d614b9095deb59affected
  • e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c to < 829a0e65deff3f826a7870a52404aeaf1a3fec3faffected

Linux Linux

Default version status: affected

  • 3.11affected
  • 0 to < 3.11unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References