{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b36315ca69cb39c839c98a31cae27b266481b0ac"
            },
            {
              "fixed": "479939aca455d0d14d618fb31668b49503e3dfeb"
            },
            {
              "fixed": "d0df668d184893e596c9ce9ec55fff339949c803"
            },
            {
              "fixed": "e4ab8ab27ab1c9f0cd1589bee471d93319e20c95"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.14.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-139254.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, fix modify header pool creation race\n\nmlx5_cmd_hws_modify_header_alloc() creates a pool at the index after\nthe last one if no pool matches the pattern. TC and CT allocate modify\nheaders concurrently, meaning two callers can take the same index and\nthe second call fails with -EBUSY.\n\nIts error path also destroys the pool it just created although another\ncaller may already use it. Keep such a pool since cleanup releases it.\n\nPools now live until cleanup so the lookup needs no lock. A miss looks\nagain under a mutex before creating the pool.\n\nTested for regressions on ConnectX-7 with firmware 28.48.1000.",
  "id": "CVE-2026-139254",
  "modified": "2026-11-30T14:45:53.753175180Z",
  "published": "2026-11-30T13:33:02.805Z",
  "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/479939aca455d0d14d618fb31668b49503e3dfeb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d0df668d184893e596c9ce9ec55fff339949c803"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4ab8ab27ab1c9f0cd1589bee471d93319e20c95"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139254.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139254"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5: HWS, fix modify header pool creation race"
}