{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f86488cb4685bbb885057afa0b61bb8afc1d6bb1"
            },
            {
              "fixed": "4dfba871c220c3581dada988f6ba57104163111c"
            },
            {
              "fixed": "46296baedd20ca100cdc2260415d02a65596e76d"
            },
            {
              "fixed": "014272105371b140affcee740039cb5f6dc63baa"
            },
            {
              "fixed": "31f9b43a3bb3d2201eadd147440252d0912dab21"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143258.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: TC, Fix double free of branch in failure\n\nWhen allocating the false branch fails in parse_branch_ctrl(), the\nalready allocated true branch is freed but attr-\u003ebranch_true is left\npointing to it. The caller parse_tc_actions() fails the flow, and\nfree_flow_post_acts(), mlx5_free_flow_attr_actions() which calls again\nfree_branch_attr() on attr-\u003ebranch_true.\n\nClear the pointer after freeing it.\n\nThis bug is theoretical and was compile tested only.",
  "id": "CVE-2026-143258",
  "modified": "2026-12-03T10:45:20.795478023Z",
  "published": "2026-12-03T09:21:04.667Z",
  "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/014272105371b140affcee740039cb5f6dc63baa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/31f9b43a3bb3d2201eadd147440252d0912dab21"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/46296baedd20ca100cdc2260415d02a65596e76d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4dfba871c220c3581dada988f6ba57104163111c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143258.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143258"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5e: TC, Fix double free of branch in failure"
}