# CVE-2026-93228: svcrdma: Reject Write/Reply chunks with segcount 0

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-09-24T15:29:10.087Z
- Modified: 2026-10-30T13:21:00.657Z
- Assigned by: Linux

## Description

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

svcrdma: Reject Write/Reply chunks with segcount 0

A peer can send a Write or Reply chunk whose segcount field is zero.
xdr_check_write_chunk() only rejects segcount > rc_maxpages, so zero
passes the range check, and xdr_inline_decode(stream, 0) returns the
current (non-NULL) cursor without advancing. The function returns
true and pcl_alloc_write() then links a struct svc_rdma_chunk with
ch_segcount == 0 onto rc_write_pcl or rc_reply_pcl.

An earlier patch in this series made pcl_for_each_segment() safe for
ch_segcount == 0, so this no longer drives the memory walk it used
to. Rejecting the malformed frame at the decode boundary is still
worthwhile as defense in depth: it keeps degenerate zero-segment
chunks off the parsed chunk lists entirely, so any future consumer
that walks ch_segments directly cannot observe one, and it makes the
zero-floor easy to backport to trees where the macro change is more
intrusive. RFC 8166 has no meaning for a Write/Reply chunk that
describes no remote buffer, so no legitimate client is affected.

xdr_check_reply_chunk() funnels Reply chunks through
xdr_check_write_chunk() and inherits the same rejection.

pcl_alloc_write() also links each chunk onto the parsed chunk list
before filling its segment array. If a future change weakens the
segcount-0 rejection, an incomplete chunk is visible to consumers
during the fill loop. Reorder so that list_add_tail() follows the
segment fill loop, ensuring only fully-populated chunks appear on
the list.

(As written by CVE List.)

## Affected

- Linux Linux: from 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 before ac730b8cbaeec6831116e1455d909ecbdcdcbd34; from 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 before 28c5a3a572f6cf81ac304459cfd515480995d62a; from 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 before fe533ae1bed2ef2b3d54ee7ab410da1874ed3d4f; from 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 before a798714b58041e88716db3bf8fb03ae13eecd54a; from 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 before 45dbdb2637b7fc5f1355b588780d2a7fb0516805; from 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2 before 9808eb7656666acc7291bae9ab6b987bd16e47e0; 5.11 (not affected: before 5.11; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/ac730b8cbaeec6831116e1455d909ecbdcdcbd34>
- <https://git.kernel.org/stable/c/28c5a3a572f6cf81ac304459cfd515480995d62a>
- <https://git.kernel.org/stable/c/fe533ae1bed2ef2b3d54ee7ab410da1874ed3d4f>
- <https://git.kernel.org/stable/c/a798714b58041e88716db3bf8fb03ae13eecd54a>
- <https://git.kernel.org/stable/c/45dbdb2637b7fc5f1355b588780d2a7fb0516805>
- <https://git.kernel.org/stable/c/9808eb7656666acc7291bae9ab6b987bd16e47e0>

## Sources

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

---

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