nvme-rdma: fix NULL queue->ctrl dereference on reconnect
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3ee50a2d76f278ea0ced45716a62730059283787, Kernel ed9e1f64bc79c92340b3d57c7294542ed13eb280 and Kernel 7.3.5.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.3, >=2a8513091d2f0b9a1e94b1843c48c712e7c17301 <3ee50a2d76f278ea0ced45716a62730059283787, >=2a8513091d2f0b9a1e94b1843c48c712e7c17301 <ed9e1f64bc79c92340b3d57c7294542ed13eb280 | 3ee50a2d76f278ea0ced45716a62730059283787, ed9e1f64bc79c92340b3d57c7294542ed13eb280 |
| linux-kernel: Kernel | >=7.3.0 <7.3.5 | 7.3.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket