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.
Fix
Patch, vendor advisory and mitigation references on NVD 8
- https://git.kernel.org/stable/c/717ab4d0614e9446bf8e2de6229464499e4008d6 Patch
- https://git.kernel.org/stable/c/af00051dbc9f467d4840ec709680660a3f8990fa Patch
- https://git.kernel.org/stable/c/af073bd245180393bcb15d33d3990a6bdc32593a Patch
- https://git.kernel.org/stable/c/b38f98e176050850f41bb6415f3a71400056623e Patch
- https://git.kernel.org/stable/c/bd02d644bd19a2795c018635d273d91e45d2bb95 Patch
- https://git.kernel.org/stable/c/be1478849e1abb1e12dc12e14cdbf800cc6fa99a Patch
- https://git.kernel.org/stable/c/f1f2252da52cdda912da9993f39f58783b01b38f Patch
- https://git.kernel.org/stable/c/f65f45dfa1e6e2eaa9e11c8b8ce8857799cb189d Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 2
- StatusUndergoing Analysis → PublishedNVD modified 2026-10-19 08:43
- First seenCVSS 9.8 · linuxNVD modified 2026-10-19 09:17
Affected (CPE criteria) 1
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References 8
- https://git.kernel.org/stable/c/717ab4d0614e9446bf8e2de6229464499e4008d6 Patch
- https://git.kernel.org/stable/c/af00051dbc9f467d4840ec709680660a3f8990fa Patch
- https://git.kernel.org/stable/c/af073bd245180393bcb15d33d3990a6bdc32593a Patch
- https://git.kernel.org/stable/c/b38f98e176050850f41bb6415f3a71400056623e Patch
- https://git.kernel.org/stable/c/bd02d644bd19a2795c018635d273d91e45d2bb95 Patch
- https://git.kernel.org/stable/c/be1478849e1abb1e12dc12e14cdbf800cc6fa99a Patch
- https://git.kernel.org/stable/c/f1f2252da52cdda912da9993f39f58783b01b38f Patch
- https://git.kernel.org/stable/c/f65f45dfa1e6e2eaa9e11c8b8ce8857799cb189d Patch