CVE-2026-139154: nvmet: fix NULL dereference of PCI endpoint targets
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix NULL dereference of PCI endpoint targets
nvmetpciepfcreatectrl() calls nvmetallocctrl() without a queue, the admin queue comes later from the host. nvmetallocctrl() passes args->sq to nvmetqueuetlskeyid(), which with CONFIGNVMETARGETTCPTLS dereferences it, so every PCI endpoint controller creation crashes on such a kernel. The debugfs tlskey file passes ctrl->sqs[0] to the same function, which is NULL until the admin queue exists and again once a fabrics host has closed it while keeping an I/O queue.
A queue that isn't there has no TLS key.