# CVE-2026-89533: svcrdma: Fix offset arithmetic in read\_chunk\_range

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 10873311f91db9454e2fadbf9866bc819e0646d9, 4493c96bbd0068fadf69cbae8d13426202e34cdc, 4a44c140cc2f3643a39e258bb0c0ab9d0f494f5e, 6ee4dc7476b3abc92ec1d444533a559f33f59561, a46b35f213c2426f5d6a0458a8f7e873fc59cdfd, addbf02dfe3b25e7e38e03bbd4e2a6ed86a14be7, cba8543c18cf42fd80fd63effb6df6ff4f7e73ce (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-11 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-89533, DEBIAN-CVE-2026-89533
- Record: https://cvemate.com/vulnerability/CVE-2026-89533 · JSON: https://cvemate.com/vulnerability/CVE-2026-89533/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

svcrdma: Fix offset arithmetic in read_chunk_range

svc_rdma_read_chunk_range() walks a Read chunk's segment list to
build a sub-range starting at byte offset and spanning length bytes
for a Position-Zero or Call chunk. Two arithmetic defects in the
per-segment loop produce wrong DMA lengths and a u32 underflow:

    pcl_for_each_segment(segment, chunk) {
            if (offset > segment->rs_length) {
                    offset -= segment->rs_length;
                    continue;
            }

            dummy.rs_handle = segment->rs_handle;
            dummy.rs_length = min_t(u32, length,
                                    segment->rs_length) - offset;
            dummy.rs_offset = segment->rs_offset + offset;

First, the skip predicate uses '>' instead of '>='. When offset
equals the segment's full rs_length, the segment is fully consumed
and should be skipped, but the loop falls through into the body.
The resulting dummy.rs_length is min_t(u32, length, rs_length) -
rs_length, which underflows to a near-UINT_MAX u32 when length is
smaller than rs_length, or is zero otherwise.

Second, the length formula subtracts offset from the min_t() result
rather than from segment->rs_length before the cap. For offset > 0
the segment's residual is rs_length - offset, not rs_length, so the
cap must be applied to the residual. With the current bracketing,
whenever length is smaller than rs_length - offset the per-segment
length becomes length - offset instead of length, silently dropping
offset bytes from the rebuilt chunk. Combined with the boundary
case above it also enables the u32 underflow path, which propagates
a huge nr_bvec into svc_rdma_build_read_segment() and a multi-MiB
kmalloc_array_node() in svc_rdma_get_rw_ctxt().

Additionally, svc_rdma_read_call_chunk() can invoke this function
with length == 0 when the last Read chunk ends exactly at the end
of the Call chunk. With the corrected >= predicate, every segment
is skipped and the function returns the initial -EINVAL, rejecting
a valid request. Return success immediately when length is zero.
Also break out of the loop once length is fully consumed to avoid
passing zero-length segments to svc_rdma_build_read_segment().

Fix by using '>=' so a fully-consumed segment is skipped, by
moving '- offset' inside min_t() so the cap is applied to the
segment's residual length, by returning success for zero-length
requests, and by stopping iteration when the requested range has
been consumed.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.502%, percentile 44.592%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 160)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.190-1 \| \< 6.12.111-1 \| \< 7.2.6-1
- debian linux-6.12 (Debian): \< 6.12.111-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-202.212 \| \< 6.8.0-149.149 \| \< 7.0.0-42.42
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126 \| \< 6.8.0-1069.74 \| \< 7.0.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126+fips1 \| \< 6.8.0-1069.74+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1125.134 \| \< 6.8.0-1073.82 \| \< 7.0.0-1020.21

## References (first 20 of 32)

- <https://git.kernel.org/stable/c/10873311f91db9454e2fadbf9866bc819e0646d9>
- <https://git.kernel.org/stable/c/addbf02dfe3b25e7e38e03bbd4e2a6ed86a14be7>
- <https://git.kernel.org/stable/c/cba8543c18cf42fd80fd63effb6df6ff4f7e73ce>
- <https://git.kernel.org/stable/c/6ee4dc7476b3abc92ec1d444533a559f33f59561>
- <https://git.kernel.org/stable/c/a46b35f213c2426f5d6a0458a8f7e873fc59cdfd>
- <https://git.kernel.org/stable/c/4493c96bbd0068fadf69cbae8d13426202e34cdc>
- <https://git.kernel.org/stable/c/4a44c140cc2f3643a39e258bb0c0ab9d0f494f5e>
- <https://ubuntu.com/security/CVE-2026-89533>
- <https://www.cve.org/CVERecord?id=CVE-2026-89533>
- <https://git.kernel.org/linus/4a44c140cc2f3643a39e258bb0c0ab9d0f494f5e>
- <https://security-tracker.debian.org/tracker/CVE-2026-89533>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-89533>
- <https://ubuntu.com/security/notices/USN-8962-1>
- <https://ubuntu.com/security/notices/USN-8961-1>
- <https://ubuntu.com/security/notices/USN-8959-1>
- <https://ubuntu.com/security/notices/USN-8963-1>
- <https://ubuntu.com/security/notices/USN-9002-1>
- <https://ubuntu.com/security/notices/USN-9020-1>
- <https://ubuntu.com/security/notices/USN-9023-1>
- <https://ubuntu.com/security/notices/USN-9025-1>

---

Data as of 2026-12-06T04:33:10.255Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
