{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139643","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.945Z","datePublished":"2026-11-30T13:36:39.091Z","dateUpdated":"2026-11-30T13:36:39.091Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:36:39.091Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/mlx5/fs.c"],"versions":[{"version":"ec6d49687d2b6056bf8ee35204c91e9eb1e188f1","lessThan":"afbc6bff250f559dc9819d3f31dbe937b2aca484","status":"affected","versionType":"git"},{"version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","lessThan":"39d752171624b537daf283d5a41f5300e6888632","status":"affected","versionType":"git"},{"version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","lessThan":"d15ce29a39c451ed8bcd5ef372e49c34243c4491","status":"affected","versionType":"git"},{"version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","lessThan":"a6fb382415a32629042aacbd85fcb0cdadd248e9","status":"affected","versionType":"git"},{"version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","lessThan":"eb5d045307b4e1cb1a3235c7c8edbdd45ff45523","status":"affected","versionType":"git"},{"version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","lessThan":"193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13","status":"affected","versionType":"git"},{"version":"5e118e20170d9b754344f0293e40a39aae40ceb8","status":"affected","versionType":"git"},{"version":"6.1.35","lessThan":"6.1.193","status":"affected","versionType":"semver"},{"version":"6.3.9","lessThan":"6.4","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/mlx5/fs.c"],"versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.35","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484"},{"url":"https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632"},{"url":"https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491"},{"url":"https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9"},{"url":"https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523"},{"url":"https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13"}],"title":"RDMA/mlx5: Guard steering anchor resource destruction on create error","x_generator":{"engine":"bippy-1.2.0"}}}}