CVE-2026-99715: nvme-rdma: fix NULL queue->ctrl dereference on reconnect
In the Linux kernel, the following vulnerability has been resolved:
nvme-rdma: fix NULL queue->ctrl dereference on reconnect
Since commit 2a8513091d2f ("nvme-rdma: parallelize I/O queue allocation and startup"), a reconnect that gets more I/O queues than before grows the tag set before the new queues are set up. queue->ctrl is only set by nvmerdmasetupioqueues(), so I/O submitted in between reaches nvmerdmaqueuerq() on a queue that was never allocated and dereferences a NULL queue->ctrl:
BUG: kernel NULL pointer dereference, address: 000000000000034c RIP: 0010:nvmerdmaqueuerq+0x52/0xb90
Set queue->ctrl for every queue when allocating the controller. Such requests are then requeued like on any other queue that is not live.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.5-1
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel NVMe over RDMA transport are exposed when a reconnect results in more I/O queues than the controller previously had. The issue concerns I/O submitted during the interval after the tag set grows but before the newly added queues are set up.
What condition triggers the NULL dereference?
An NVMe-RDMA reconnect must allocate additional I/O queues, and I/O must be submitted to one of those queues before nvme_rdma_setup_io_queues() has initialized its queue->ctrl pointer. The uninitialized queue then reaches nvme_rdma_queue_rq() and dereferences the NULL pointer.
What is the effect of the fix?
The fix sets queue->ctrl for every queue during controller allocation. Requests sent to queues that are not yet live are requeued instead of dereferencing a NULL queue->ctrl pointer.