cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-139592
  • GHSA-jxq2-64vh-g76g
  • EUVD-2026-139298

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

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    3.11none stated
    before 3.11: not affectednone stated
    from 5.10.275 up to 5.10.*: not affectednone stated
    from 5.15.226 up to 5.15.*: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated

    and 2 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.