Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139643

RDMA/mlx5: Guard steering anchor resource destruction on create error

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ec6d49687d2b6056bf8ee35204c91e9eb1e188f1 to < afbc6bff250f559dc9819d3f31dbe937b2aca484affected
  • e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce to < 39d752171624b537daf283d5a41f5300e6888632affected
  • e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce to < d15ce29a39c451ed8bcd5ef372e49c34243c4491affected
  • e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce to < a6fb382415a32629042aacbd85fcb0cdadd248e9affected
  • e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce to < eb5d045307b4e1cb1a3235c7c8edbdd45ff45523affected
  • e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce to < 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13affected
  • 5e118e20170d9b754344f0293e40a39aae40ceb8affected
  • 6.1.35 to < 6.1.193affected
  • 6.3.9 to < 6.4affected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References