{"id":"CVE-2026-139154","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:33.730","lastModified":"2026-11-30T14:18:33.730","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/nvme/target/nvmet.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","lessThan":"c081e3eb6bd80a66d00b15001a412e6ca9a2a763","versionType":"git","status":"affected"},{"version":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","lessThan":"90a6757a81b7c55ee9c017bce2e58143af2f9adf","versionType":"git","status":"affected"},{"version":"fa2e0f8bbc68908d14a97407bbbf8d8cccaf90a4","lessThan":"4a5ace11b5a367270bc86097d31c35cb61890a95","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/nvme/target/nvmet.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/4a5ace11b5a367270bc86097d31c35cb61890a95","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/90a6757a81b7c55ee9c017bce2e58143af2f9adf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c081e3eb6bd80a66d00b15001a412e6ca9a2a763","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}