# CVE-2026-100075: RDMA/srpt: Fix srpt_alloc_rw_ctxs() unwind counters

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-09-25T13:06:47.399Z
- Modified: 2026-10-19T09:17:06.060Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before af00051dbc9f467d4840ec709680660a3f8990fa; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before 717ab4d0614e9446bf8e2de6229464499e4008d6; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before f1f2252da52cdda912da9993f39f58783b01b38f; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before f65f45dfa1e6e2eaa9e11c8b8ce8857799cb189d; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before be1478849e1abb1e12dc12e14cdbf800cc6fa99a; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before af073bd245180393bcb15d33d3990a6bdc32593a; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before bd02d644bd19a2795c018635d273d91e45d2bb95; from b99f8e4d7bcd3bfbb3cd965918523299370d0cb2 before b38f98e176050850f41bb6415f3a71400056623e; 4.7 (not affected: before 4.7; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 4.7 before 5.10.270; from 5.11 before 5.15.221; from 5.16 before 6.1.188; from 6.2 before 6.6.157; from 6.7 before 6.12.110; from 6.13 before 6.18.52; from 6.19 before 7.2.6

## References

- <https://git.kernel.org/stable/c/af00051dbc9f467d4840ec709680660a3f8990fa> (patch)
- <https://git.kernel.org/stable/c/717ab4d0614e9446bf8e2de6229464499e4008d6> (patch)
- <https://git.kernel.org/stable/c/f1f2252da52cdda912da9993f39f58783b01b38f> (patch)
- <https://git.kernel.org/stable/c/f65f45dfa1e6e2eaa9e11c8b8ce8857799cb189d> (patch)
- <https://git.kernel.org/stable/c/be1478849e1abb1e12dc12e14cdbf800cc6fa99a> (patch)
- <https://git.kernel.org/stable/c/af073bd245180393bcb15d33d3990a6bdc32593a> (patch)
- <https://git.kernel.org/stable/c/bd02d644bd19a2795c018635d273d91e45d2bb95> (patch)
- <https://git.kernel.org/stable/c/b38f98e176050850f41bb6415f3a71400056623e> (patch)

## Sources

- CVE List: [CVE-2026-100075](https://www.cve.org/CVERecord?id=CVE-2026-100075), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-100075](https://nvd.nist.gov/vuln/detail/CVE-2026-100075), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-100075 · Whole record: https://cve.day/CVE-2026-100075.json · Rebuilt by cve.day 2026-11-25T22:59:41.089Z
