{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ec6d49687d2b6056bf8ee35204c91e9eb1e188f1"
            },
            {
              "fixed": "afbc6bff250f559dc9819d3f31dbe937b2aca484"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "e1f4a52ac171dd863fe89055e749ef5e0a0bc5ce"
            },
            {
              "fixed": "39d752171624b537daf283d5a41f5300e6888632"
            },
            {
              "fixed": "d15ce29a39c451ed8bcd5ef372e49c34243c4491"
            },
            {
              "fixed": "a6fb382415a32629042aacbd85fcb0cdadd248e9"
            },
            {
              "fixed": "eb5d045307b4e1cb1a3235c7c8edbdd45ff45523"
            },
            {
              "fixed": "193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5e118e20170d9b754344f0293e40a39aae40ceb8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.35"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.3.9"
            },
            {
              "fixed": "6.4"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.4.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139643.json"
  },
  "details": "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.",
  "id": "CVE-2026-139643",
  "modified": "2026-11-30T14:45:40.208790237Z",
  "published": "2026-11-30T13:36:39.091Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/193aaf5b57f05d9f0403cfdaff3eda3b8d11ec13"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/39d752171624b537daf283d5a41f5300e6888632"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a6fb382415a32629042aacbd85fcb0cdadd248e9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afbc6bff250f559dc9819d3f31dbe937b2aca484"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d15ce29a39c451ed8bcd5ef372e49c34243c4491"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eb5d045307b4e1cb1a3235c7c8edbdd45ff45523"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139643.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139643"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "RDMA/mlx5: Guard steering anchor resource destruction on create error"
}