# CVE-2026-139643: RDMA/mlx5: Guard steering anchor resource destruction on create error

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:39.091Z
- Modified: 2026-11-30T14:19:47.780Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ec6d49687d2b6056bf8ee35204c91e9eb1e188f1 before afbc6bff250f559dc9819d3f31dbe937b2aca484; from e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce before 39d752171624b537daf283d5a41f5300e6888632; from e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce before d15ce29a39c451ed8bcd5ef372e49c34243c4491; from e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce before a6fb382415a32629042aacbd85fcb0cdadd248e9; from e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce before eb5d045307b4e1cb1a3235c7c8edbdd45ff45523; from e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce before 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13; 5e118e20170d9b754344f0293e40a39aae40ceb8; from 6.1.35 before 6.1.193; from 6.3.9 before 6.4; 6.4 (not affected: before 6.4; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484>
- <https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632>
- <https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491>
- <https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9>
- <https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523>
- <https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13>

## Sources

- CVE List: [CVE-2026-139643](https://www.cve.org/CVERecord?id=CVE-2026-139643), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139643](https://nvd.nist.gov/vuln/detail/CVE-2026-139643), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139643 · Whole record: https://cve.day/CVE-2026-139643.json · Rebuilt by cve.day 2026-11-30T14:33:36.055Z
