{"id":"CVE-2026-93228","aliases":["CVE-2026-93228"],"related":[],"kind":"vulnerability","state":"published","title":"svcrdma: Reject Write/Reply chunks with segcount 0","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: Reject Write/Reply chunks with segcount 0\n\nA peer can send a Write or Reply chunk whose segcount field is zero.\nxdr_check_write_chunk() only rejects segcount > rc_maxpages, so zero\npasses the range check, and xdr_inline_decode(stream, 0) returns the\ncurrent (non-NULL) cursor without advancing. The function returns\ntrue and pcl_alloc_write() then links a struct svc_rdma_chunk with\nch_segcount == 0 onto rc_write_pcl or rc_reply_pcl.\n\nAn earlier patch in this series made pcl_for_each_segment() safe for\nch_segcount == 0, so this no longer drives the memory walk it used\nto. Rejecting the malformed frame at the decode boundary is still\nworthwhile as defense in depth: it keeps degenerate zero-segment\nchunks off the parsed chunk lists entirely, so any future consumer\nthat walks ch_segments directly cannot observe one, and it makes the\nzero-floor easy to backport to trees where the macro change is more\nintrusive. RFC 8166 has no meaning for a Write/Reply chunk that\ndescribes no remote buffer, so no legitimate client is affected.\n\nxdr_check_reply_chunk() funnels Reply chunks through\nxdr_check_write_chunk() and inherits the same rejection.\n\npcl_alloc_write() also links each chunk onto the parsed chunk list\nbefore filling its segment array. If a future change weakens the\nsegcount-0 rejection, an incomplete chunk is visible to consumers\nduring the fill loop. Reorder so that list_add_tail() follows the\nsegment fill loop, ensuring only fully-populated chunks appear on\nthe list.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsvcrdma: Reject Write/Reply chunks with segcount 0\n\nA peer can send a Write or Reply chunk whose segcount field is zero.\nxdr_check_write_chunk() only rejects segcount > rc_maxpages, so zero\npasses the range check, and xdr_inline_decode(stream, 0) returns the\ncurrent (non-NULL) cursor without advancing. The function returns\ntrue and pcl_alloc_write() then links a struct svc_rdma_chunk with\nch_segcount == 0 onto rc_write_pcl or rc_reply_pcl.\n\nAn earlier patch in this series made pcl_for_each_segment() safe for\nch_segcount == 0, so this no longer drives the memory walk it used\nto. Rejecting the malformed frame at the decode boundary is still\nworthwhile as defense in depth: it keeps degenerate zero-segment\nchunks off the parsed chunk lists entirely, so any future consumer\nthat walks ch_segments directly cannot observe one, and it makes the\nzero-floor easy to backport to trees where the macro change is more\nintrusive. RFC 8166 has no meaning for a Write/Reply chunk that\ndescribes no remote buffer, so no legitimate client is affected.\n\nxdr_check_reply_chunk() funnels Reply chunks through\nxdr_check_write_chunk() and inherits the same rejection.\n\npcl_alloc_write() also links each chunk onto the parsed chunk list\nbefore filling its segment array. If a future change weakens the\nsegcount-0 rejection, an incomplete chunk is visible to consumers\nduring the fill loop. Reorder so that list_add_tail() follows the\nsegment fill loop, ensuring only fully-populated chunks appear on\nthe list.","source":"cvelist"}],"published":"2026-09-24T15:29:10.087Z","modified":"2026-10-30T13:21:00.657Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"78147ca8b4a9b6cf0e597ddd6bf17959e08376c2","fixed":"ac730b8cbaeec6831116e1455d909ecbdcdcbd34","status":"affected"},{"type":"git","introduced":"78147ca8b4a9b6cf0e597ddd6bf17959e08376c2","fixed":"28c5a3a572f6cf81ac304459cfd515480995d62a","status":"affected"},{"type":"git","introduced":"78147ca8b4a9b6cf0e597ddd6bf17959e08376c2","fixed":"fe533ae1bed2ef2b3d54ee7ab410da1874ed3d4f","status":"affected"},{"type":"git","introduced":"78147ca8b4a9b6cf0e597ddd6bf17959e08376c2","fixed":"a798714b58041e88716db3bf8fb03ae13eecd54a","status":"affected"},{"type":"git","introduced":"78147ca8b4a9b6cf0e597ddd6bf17959e08376c2","fixed":"45dbdb2637b7fc5f1355b588780d2a7fb0516805","status":"affected"},{"type":"git","introduced":"78147ca8b4a9b6cf0e597ddd6bf17959e08376c2","fixed":"9808eb7656666acc7291bae9ab6b987bd16e47e0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ac730b8cbaeec6831116e1455d909ecbdcdcbd34","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28c5a3a572f6cf81ac304459cfd515480995d62a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe533ae1bed2ef2b3d54ee7ab410da1874ed3d4f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a798714b58041e88716db3bf8fb03ae13eecd54a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45dbdb2637b7fc5f1355b588780d2a7fb0516805","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9808eb7656666acc7291bae9ab6b987bd16e47e0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93228","url":"https://www.cve.org/CVERecord?id=CVE-2026-93228","licence":"CVE Terms of Use","modified":"2026-10-30T12:36:26.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93228","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93228","licence":"Public domain","modified":"2026-10-30T13:21:00.657Z"}],"updatedAt":"2026-11-25T22:59:40.786Z","epss":{"score":0.00501,"percentile":0.44514,"date":"2026-12-01T12:00:22.000Z"}}