{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4"
            },
            {
              "fixed": "c081e3eb6bd80a66d00b15001a412e6ca9a2a763"
            },
            {
              "fixed": "90a6757a81b7c55ee9c017bce2e58143af2f9adf"
            },
            {
              "fixed": "4a5ace11b5a367270bc86097d31c35cb61890a95"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.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-139154.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix NULL dereference of PCI endpoint targets\n\nnvmet_pci_epf_create_ctrl() calls nvmet_alloc_ctrl() without a queue,\nthe admin queue comes later from the host. nvmet_alloc_ctrl() passes\nargs-\u003esq to nvmet_queue_tls_keyid(), which with\nCONFIG_NVME_TARGET_TCP_TLS dereferences it, so every PCI endpoint\ncontroller creation crashes on such a kernel. The debugfs tls_key file\npasses ctrl-\u003esqs[0] to the same function, which is NULL until the admin\nqueue exists and again once a fabrics host has closed it while keeping\nan I/O queue.\n\nA queue that isn't there has no TLS key.",
  "id": "CVE-2026-139154",
  "modified": "2026-12-01T20:45:55.910608024Z",
  "published": "2026-11-30T13:32:04.834Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4a5ace11b5a367270bc86097d31c35cb61890a95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90a6757a81b7c55ee9c017bce2e58143af2f9adf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c081e3eb6bd80a66d00b15001a412e6ca9a2a763"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139154.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139154"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "nvmet: fix NULL dereference of PCI endpoint targets"
}