CVE-2026-99715: nvme-rdma: fix NULL queue->ctrl dereference on reconnect
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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 nvme_rdma_setup_io_queues(), so I/O submitted in between reaches nvme_rdma_queue_rq() on a queue that was never allocated and dereferences a NULL queue->ctrl:
BUG: kernel NULL pointer dereference, address: 000000000000034c RIP: 0010:nvme_rdma_queue_rq+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.
The Linux kernel CVE team has assigned CVE-2026-99715 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.3 with commit 2a8513091d2f0b9a1e94b1843c48c712e7c17301 and fixed in 7.3.5 with commit ed9e1f64bc79c92340b3d57c7294542ed13eb280 Issue introduced in 7.3 with commit 2a8513091d2f0b9a1e94b1843c48c712e7c17301 and fixed in 7.4-rc2 with commit 3ee50a2d76f278ea0ced45716a62730059283787
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99715
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/nvme/host/rdma.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/ed9e1f64bc79c92340b3d57c7294542ed13eb280 https://git.kernel.org/stable/c/3ee50a2d76f278ea0ced45716a62730059283787