Bug 2587174 (CVE-2026-139643) - CVE-2026-139643 kernel: kernel: mlx5: use-after-free via premature destruction of steering anchor resources
Summary: CVE-2026-139643 kernel: kernel: mlx5: use-after-free via premature destructio...
Keywords:
Status: NEW
Alias: CVE-2026-139643
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:03 UTC by OSIDB Bzimport
Modified: 2026-12-01 12:51 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:03:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.