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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:36:39.091Z
- **Modified:** 2026-11-30T14:19:47.780Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can trigger a steering anchor creation error in the Linux kernel RDMA mlx5 driver can cause a use-after-free by destroying shared flow table resources still in use.

## Who should check

- Anyone running Linux \>= ec6d49687d2b6056bf8ee35204c91e9eb1e188f1, \< afbc6bff250f559dc9819d3f31dbe937b2aca484; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< 39d752171624b537daf283d5a41f5300e6888632; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< d15ce29a39c451ed8bcd5ef372e49c34243c4491; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< a6fb382415a32629042aacbd85fcb0cdadd248e9; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< eb5d045307b4e1cb1a3235c7c8edbdd45ff45523; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13; 5e118e20170d9b754344f0293e40a39aae40ceb8; \>= 6.1.35, \< 6.1.193; \>= 6.3.9, \< 6.4
- Anyone running Linux 6.4

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

## Affected and fixed versions

- Linux: \>= ec6d49687d2b6056bf8ee35204c91e9eb1e188f1, \< afbc6bff250f559dc9819d3f31dbe937b2aca484; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< 39d752171624b537daf283d5a41f5300e6888632; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< d15ce29a39c451ed8bcd5ef372e49c34243c4491; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< a6fb382415a32629042aacbd85fcb0cdadd248e9; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< eb5d045307b4e1cb1a3235c7c8edbdd45ff45523; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13; 5e118e20170d9b754344f0293e40a39aae40ceb8; \>= 6.1.35, \< 6.1.193; \>= 6.3.9, \< 6.4 (cvelist)
- Linux: 6.4 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139643.md
Affected: Linux >= ec6d49687d2b6056bf8ee35204c91e9eb1e188f1, < afbc6bff250f559dc9819d3f31dbe937b2aca484; >= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, < 39d752171624b537daf283d5a41f5300e6888632; >= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, < d15ce29a39c451ed8bcd5ef372e49c34243c4491; >= e1f4a52ac171dd863fe8905…
Fixed in: Linux 39d752171624b537daf283d5a41f5300e6888632, Linux 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13, Linux 6.1.193, Linux 6.4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139643 being exploited?

There is no confirmed exploitation: CVE-2026-139643 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139643?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139643?

Linux \>= ec6d49687d2b6056bf8ee35204c91e9eb1e188f1, \< afbc6bff250f559dc9819d3f31dbe937b2aca484; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< 39d752171624b537daf283d5a41f5300e6888632; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< d15ce29a39c451ed8bcd5ef372e49c34243c4491; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< a6fb382415a32629042aacbd85fcb0cdadd248e9; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< eb5d045307b4e1cb1a3235c7c8edbdd45ff45523; \>= e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce, \< 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13; 5e118e20170d9b754344f0293e40a39aae40ceb8; \>= 6.1.35, \< 6.1.193; \>= 6.3.9, \< 6.4; Linux 6.4.

### Is there a fix for CVE-2026-139643?

Yes. Fixed in Linux 39d752171624b537daf283d5a41f5300e6888632, Linux 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13, Linux 6.1.193, Linux 6.4. Upgrade Linux to 6.4 or later.

### How do I check if I'm affected by CVE-2026-139643?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139643>

HTML: <https://flawdb.com/CVE-2026-139643> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139643>
