{"api_version":"1","generated_at":"2026-11-30T19:34:01+00:00","cve":"CVE-2026-139154","urls":{"html":"https://cve.report/CVE-2026-139154","api":"https://cve.report/api/cve/CVE-2026-139154.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139154","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139154"},"summary":{"title":"nvmet: fix NULL dereference of PCI endpoint targets","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:33","updated_at":"2026-11-30 14:18:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/4a5ace11b5a367270bc86097d31c35cb61890a95","name":"https://git.kernel.org/stable/c/4a5ace11b5a367270bc86097d31c35cb61890a95","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c081e3eb6bd80a66d00b15001a412e6ca9a2a763","name":"https://git.kernel.org/stable/c/c081e3eb6bd80a66d00b15001a412e6ca9a2a763","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/90a6757a81b7c55ee9c017bce2e58143af2f9adf","name":"https://git.kernel.org/stable/c/90a6757a81b7c55ee9c017bce2e58143af2f9adf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139154","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139154","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4 c081e3eb6bd80a66d00b15001a412e6ca9a2a763 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4 90a6757a81b7c55ee9c017bce2e58143af2f9adf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4 4a5ace11b5a367270bc86097d31c35cb61890a95 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/nvme/target/nvmet.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c081e3eb6bd80a66d00b15001a412e6ca9a2a763","status":"affected","version":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","versionType":"git"},{"lessThan":"90a6757a81b7c55ee9c017bce2e58143af2f9adf","status":"affected","version":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","versionType":"git"},{"lessThan":"4a5ace11b5a367270bc86097d31c35cb61890a95","status":"affected","version":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/nvme/target/nvmet.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:04.834Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c081e3eb6bd80a66d00b15001a412e6ca9a2a763"},{"url":"https://git.kernel.org/stable/c/90a6757a81b7c55ee9c017bce2e58143af2f9adf"},{"url":"https://git.kernel.org/stable/c/4a5ace11b5a367270bc86097d31c35cb61890a95"}],"title":"nvmet: fix NULL dereference of PCI endpoint targets","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139154","datePublished":"2026-11-30T13:32:04.834Z","dateReserved":"2026-11-30T13:22:15.917Z","dateUpdated":"2026-11-30T13:32:04.834Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:33","lastModifiedDate":"2026-11-30 14:18:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139154","Ordinal":"1","Title":"nvmet: fix NULL dereference of PCI endpoint targets","CVE":"CVE-2026-139154","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139154","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"nvmet: fix NULL dereference of PCI endpoint targets"}]}}}