Read the docs

Use-after-free in Linux kernel RDMA/mlx5 steering anchor cleanup

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

The Linux kernel RDMA mlx5 driver is affected from 6.1.35 before 6.1.193, from 6.3.9 before 6.4, and from 6.4 onward. When creating a steering anchor succeeds but copying the result to user space fails, the error path destroys shared flow table, flow group and rule resources while other anchors still reference them. This leads to a use-after-free when those anchors are cleaned up.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Fix Fixed Linux (Linux): 6.1.193, 6.4, 6.6.163 +4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.1.35 to before 6.1.193; 6.3.9 to before 6.46.1.193, 6.4Patch availableCNA
LinuxLinux6.4 and later6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 6.1.35 to before 6.1.193; 6.3.9 to before 6.4 Fixed in 6.1.193, 6.4 Patch available CNA
  • Linux VendorLinux Affected 6.4 and later Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Upgrade the Linux kernel to a fixed version: 6.1.193, 6.4, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, depending on the branch in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.4
  • Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-139643
  2. 2026-11-30 Alias added: GHSA-cv2p-pchp-vgc5

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources