{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "11bbcfb7668c6f4d97260f7caaefea22678bc31e"
            },
            {
              "fixed": "3338ecb532c27af28c7c41eaaab4b0b7795f6a0f"
            },
            {
              "fixed": "2dbe2d06ec09a8cc06186cc052217f666f45e9d1"
            },
            {
              "fixed": "fa503935c2d6603856dafff0a0852631ab6e9503"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.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-139136.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Only set num_doorbells on a fully initialized SF\n\nThe validation for the num_doorbells devlink param rejects values\ngreater than num_channels. For lightweight SFs, this ends up accessing\na NULL priv-\u003eeq_table, leading to a crash.\n\nFix that by rejecting setting num_doorbells on uninitialized SFs.",
  "id": "CVE-2026-139136",
  "modified": "2026-11-30T14:45:54.710518353Z",
  "published": "2026-11-30T13:31:54.905Z",
  "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/2dbe2d06ec09a8cc06186cc052217f666f45e9d1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3338ecb532c27af28c7c41eaaab4b0b7795f6a0f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fa503935c2d6603856dafff0a0852631ab6e9503"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139136.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139136"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5: Only set num_doorbells on a fully initialized SF"
}