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

Published Nov 30, 2026
·
Updated

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

When steering anchor creation succeeds but uverbscopyto() fails, the error path drops the reference acquired for the new anchor. However, it unconditionally calls mlx5steeringanchordestroyres(), 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 rulegototableref zero, consistent with the existing cleanup path.

Affected Software

11 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.1.35<6.1.193
6.1.193
linux/kernel>=6.3.9<6.4
6.4
linux/kernel>=6.4.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.4
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  7. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  8. Compensating control

    In the RDMA/mlx5 steering-anchor creation error path, destroy shared steering resources only when dropping the reference makes rule_goto_table_ref zero.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description
Data Sourced
via OSV·01:36 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the use-after-free?

A steering anchor creation must succeed, then uverbs_copy_to() must fail. Other steering anchors with the same priority must still be using the shared steering resources when the failing creation path runs.

2

Which systems are exposed?

The issue is in the Linux kernel RDMA/mlx5 steering-anchor handling. Exposure depends on use of this functionality and on having multiple anchors sharing resources at the same priority; the provided data does not identify affected kernel versions or default configurations.

3

What happens after the faulty error path is reached?

The error path can destroy a shared flow table, flow groups, and rules even though existing anchors still reference them. A use-after-free occurs later when those existing anchors are cleaned up.

4

What is the required remediation?

Apply a kernel update containing the fix that destroys shared steering-anchor resources only when decrementing rule_goto_table_ref causes the reference count to reach zero. The provided references identify stable kernel commits containing the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203