CVE-2026-139643
RDMA/mlx5: Guard steering anchor resource destruction on create error
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Guard steering anchor resource destruction on create error The steering anchor resources are shared between anchors with the same priority and are protected by rule_goto_table_ref. When steering anchor creation succeeds but uverbs_copy_to() fails, the error path drops the reference acquired for the new anchor. However, it unconditionally calls mlx5_steering_anchor_destroy_res(), even when other anchors are still using the shared resources. This can destroy the shared flow table, flow groups, and rules while existing anchors still hold references to them, resulting in a use-after-free when those anchors are subsequently cleaned up. Only destroy the shared resources when dropping the reference makes rule_goto_table_ref zero, consistent with the existing cleanup path.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Conditionally destroy shared resources on creation error.
- Ensure reference count is zero before destroying.
- Update the Linux kernel to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139643.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139643 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139643
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139643 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139643 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Guard steering anchor resource destruction on create error The steering anchor resources are shared between anchors with the same priority and are protected by rule_goto_table_ref. When steering anchor creation succeeds but uverbs_copy_to() fails, the error path drops the reference acquired for the new anchor. However, it unconditionally calls mlx5_steering_anchor_destroy_res(), even when other anchors are still using the shared resources. This can destroy the shared flow table, flow groups, and rules while existing anchors still hold references to them, resulting in a use-after-free when those anchors are subsequently cleaned up. Only destroy the shared resources when dropping the reference makes rule_goto_table_ref zero, consistent with the existing cleanup path. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139643.json">CVE-2026-139643</a> Added Reference https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13 Added Reference https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632 Added Reference https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9 Added Reference https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484 Added Reference https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491 Added Reference https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523