{"id":"CVE-2026-139643","aliases":["CVE-2026-139643"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/mlx5: Guard steering anchor resource destruction on create error","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Guard steering anchor resource destruction on create error\n\nThe steering anchor resources are shared between anchors with the same\npriority and are protected by rule_goto_table_ref.\n\nWhen steering anchor creation succeeds but uverbs_copy_to() fails, the\nerror path drops the reference acquired for the new anchor. However, it\nunconditionally calls mlx5_steering_anchor_destroy_res(), even when\nother anchors are still using the shared resources.\n\nThis can destroy the shared flow table, flow groups, and rules while\nexisting anchors still hold references to them, resulting in a\nuse-after-free when those anchors are subsequently cleaned up.\n\nOnly destroy the shared resources when dropping the reference makes\nrule_goto_table_ref zero, consistent with the existing cleanup path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Guard steering anchor resource destruction on create error\n\nThe steering anchor resources are shared between anchors with the same\npriority and are protected by rule_goto_table_ref.\n\nWhen steering anchor creation succeeds but uverbs_copy_to() fails, the\nerror path drops the reference acquired for the new anchor. However, it\nunconditionally calls mlx5_steering_anchor_destroy_res(), even when\nother anchors are still using the shared resources.\n\nThis can destroy the shared flow table, flow groups, and rules while\nexisting anchors still hold references to them, resulting in a\nuse-after-free when those anchors are subsequently cleaned up.\n\nOnly destroy the shared resources when dropping the reference makes\nrule_goto_table_ref zero, consistent with the existing cleanup path.","source":"cvelist"}],"published":"2026-11-30T13:36:39.091Z","modified":"2026-11-30T14:19:47.780Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ec6d49687d2b6056bf8ee35204c91e9eb1e188f1","fixed":"afbc6bff250f559dc9819d3f31dbe937b2aca484","status":"affected"},{"type":"git","introduced":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","fixed":"39d752171624b537daf283d5a41f5300e6888632","status":"affected"},{"type":"git","introduced":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","fixed":"d15ce29a39c451ed8bcd5ef372e49c34243c4491","status":"affected"},{"type":"git","introduced":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","fixed":"a6fb382415a32629042aacbd85fcb0cdadd248e9","status":"affected"},{"type":"git","introduced":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","fixed":"eb5d045307b4e1cb1a3235c7c8edbdd45ff45523","status":"affected"},{"type":"git","introduced":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","fixed":"193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13","status":"affected"},{"type":"git","version":"5e118e20170d9b754344f0293e40a39aae40ceb8","status":"affected"},{"type":"semver","introduced":"6.1.35","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"6.3.9","fixed":"6.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139643","url":"https://www.cve.org/CVERecord?id=CVE-2026-139643","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:39.091Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139643","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139643","licence":"Public domain","modified":"2026-11-30T14:19:47.780Z"}],"updatedAt":"2026-11-30T14:33:36.055Z","epss":{"score":0.00172,"percentile":0.06952,"date":"2026-12-01T12:00:22.000Z"}}