{"api_version":"1","generated_at":"2026-12-01T14:01:15+00:00","cve":"CVE-2026-139643","urls":{"html":"https://cve.report/CVE-2026-139643","api":"https://cve.report/api/cve/CVE-2026-139643.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139643","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139643"},"summary":{"title":"RDMA/mlx5: Guard steering anchor resource destruction on create error","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:47","updated_at":"2026-11-30 14:19:47"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9","name":"https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13","name":"https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523","name":"https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632","name":"https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491","name":"https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484","name":"https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139643","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139643","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ec6d49687d2b6056bf8ee35204c91e9eb1e188f1 afbc6bff250f559dc9819d3f31dbe937b2aca484 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce 39d752171624b537daf283d5a41f5300e6888632 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce d15ce29a39c451ed8bcd5ef372e49c34243c4491 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce a6fb382415a32629042aacbd85fcb0cdadd248e9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce eb5d045307b4e1cb1a3235c7c8edbdd45ff45523 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce 193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e118e20170d9b754344f0293e40a39aae40ceb8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.35 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3.9 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/hw/mlx5/fs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"afbc6bff250f559dc9819d3f31dbe937b2aca484","status":"affected","version":"ec6d49687d2b6056bf8ee35204c91e9eb1e188f1","versionType":"git"},{"lessThan":"39d752171624b537daf283d5a41f5300e6888632","status":"affected","version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","versionType":"git"},{"lessThan":"d15ce29a39c451ed8bcd5ef372e49c34243c4491","status":"affected","version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","versionType":"git"},{"lessThan":"a6fb382415a32629042aacbd85fcb0cdadd248e9","status":"affected","version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","versionType":"git"},{"lessThan":"eb5d045307b4e1cb1a3235c7c8edbdd45ff45523","status":"affected","version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","versionType":"git"},{"lessThan":"193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13","status":"affected","version":"e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce","versionType":"git"},{"status":"affected","version":"5e118e20170d9b754344f0293e40a39aae40ceb8","versionType":"git"},{"lessThan":"6.1.193","status":"affected","version":"6.1.35","versionType":"semver"},{"lessThan":"6.4","status":"affected","version":"6.3.9","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/hw/mlx5/fs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.4"},{"lessThan":"6.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.1.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:39.091Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139643","datePublished":"2026-11-30T13:36:39.091Z","dateReserved":"2026-11-30T13:22:15.945Z","dateUpdated":"2026-11-30T13:36:39.091Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:47","lastModifiedDate":"2026-11-30 14:19:47","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139643","Ordinal":"1","Title":"RDMA/mlx5: Guard steering anchor resource destruction on create ","CVE":"CVE-2026-139643","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139643","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"RDMA/mlx5: Guard steering anchor resource destruction on create "}]}}}