{"id":"CVE-2026-139154","aliases":["CVE-2026-139154"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: fix NULL dereference of PCI endpoint targets","summary":"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->sq 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->sqs[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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->sq 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->sqs[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.","source":"cvelist"}],"published":"2026-11-30T13:32:04.834Z","modified":"2026-11-30T14:18:33.730Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","fixed":"c081e3eb6bd80a66d00b15001a412e6ca9a2a763","status":"affected"},{"type":"git","introduced":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","fixed":"90a6757a81b7c55ee9c017bce2e58143af2f9adf","status":"affected"},{"type":"git","introduced":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","fixed":"4a5ace11b5a367270bc86097d31c35cb61890a95","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c081e3eb6bd80a66d00b15001a412e6ca9a2a763","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90a6757a81b7c55ee9c017bce2e58143af2f9adf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a5ace11b5a367270bc86097d31c35cb61890a95","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139154","url":"https://www.cve.org/CVERecord?id=CVE-2026-139154","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:04.834Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139154","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139154","licence":"Public domain","modified":"2026-11-30T14:18:33.730Z"}],"updatedAt":"2026-11-30T14:32:50.340Z","epss":{"score":0.00198,"percentile":0.10124,"date":"2026-12-01T12:00:22.000Z"}}