Critical · published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved:
RDMA/srpt: Fix srpt_alloc_rw_ctxs() unwind counters
When srpt_alloc_rw_ctxs() fails partway through a multi-buffer indirect
descriptor, the unwind path destroys RDMA contexts but leaves stale
n_rw_ctx and n_rdma values (and a dangling rw_ctxs pointer). Later
sq_wr_avail accounting in srpt_queue_response() or srpt_write_pending()
can then subtract the wrong number of send queue credits.
Reset the counters and clear rw_ctxs after freeing the heap
allocation before returning an error.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.7, < 5.10.270 | 5.10.270 |
| linux/linux_kernel | ≥ 5.11, < 5.15.221 | 5.15.221 |
| linux/linux_kernel | ≥ 5.16, < 6.1.188 | 6.1.188 |
| linux/linux_kernel | ≥ 6.2, < 6.6.157 | 6.6.157 |
| linux/linux_kernel | ≥ 6.7, < 6.12.110 | 6.12.110 |
| linux/linux_kernel | ≥ 6.13, < 6.18.52 | 6.18.52 |
| linux/linux_kernel | ≥ 6.19, < 7.2.6 | 7.2.6 |