RDMA/mlx5: Guard steering anchor resource destruction on create error
Summary
| CVE | CVE-2026-139643 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:47 UTC |
| Updated | 2026-11-30 14:19:47 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected ec6d49687d2b6056bf8ee35204c91e9eb1e188f1 afbc6bff250f559dc9819d3f31dbe937b2aca484 git |
Not specified |
| CNA |
Linux |
Linux |
affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce 39d752171624b537daf283d5a41f5300e6888632 git |
Not specified |
| CNA |
Linux |
Linux |
affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce d15ce29a39c451ed8bcd5ef372e49c34243c4491 git |
Not specified |
| CNA |
Linux |
Linux |
affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce a6fb382415a32629042aacbd85fcb0cdadd248e9 git |
Not specified |
| CNA |
Linux |
Linux |
affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce eb5d045307b4e1cb1a3235c7c8edbdd45ff45523 git |
Not specified |
| CNA |
Linux |
Linux |
affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e118e20170d9b754344f0293e40a39aae40ceb8 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.1.35 6.1.193 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.3.9 6.4 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.4 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.4 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.