CVE-2026-139592

medium

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

References

https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698

https://git.kernel.org/stable/c/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae

https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e

https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1

https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f

https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056

https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59

https://git.kernel.org/stable/c/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139298

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium