# CVE-2026-89532: svcrdma: Fix pcl\_for\_each\_segment for empty chunks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **Published:** 2026-09-11T19:44:11.495Z
- **Modified:** 2026-10-19T09:17:47.770Z

## Who should check

- Anyone running Linux \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 1e2e3481e39103a386b86be1c33eaef97cbdf16e; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 3a78b841879c2a3243f74edc514236fb2907167f; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 06d0390c37fa6714624af771bd72bbf1a7ed9bb1; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 9c5a03c3dc505c0295339b0a1b9e4fe36447e482; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< a1c954ca4977a4e6ec73ef92fe48073ec54f9fc8; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 6d33a7e6bf6c6b293a266a617201285a1ad32c56; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< b7713a784c59515d0aba558c8f5df6a0164dd3a9
- Anyone running Linux 5.11

## Description

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

svcrdma: Fix pcl\_for\_each\_segment for empty chunks

When a parsed chunk list contains a chunk whose ch\_segcount is zero,
pcl\_for\_each\_segment computes its inclusive upper bound as
&chunk-\>ch\_segments\[ch\_segcount - 1\]. ch\_segcount is u32, so the
subtraction wraps to 0xFFFFFFFF and the bound lands far past the
ch\_segments flex array. The loop body then walks unrelated memory at
sizeof(struct svc\_rdma\_segment) stride until it faults.

A zero-segcount chunk is reachable from the wire:
xdr\_check\_write\_chunk() only rejects segcount values greater than
rc\_maxpages, and pcl\_alloc\_write() links a freshly allocated chunk
onto rc\_write\_pcl/rc\_reply\_pcl before its segment-fill loop runs,
so a Write or Reply chunk advertising zero segments leaves
ch\_segcount == 0 on the list. When the transport has negotiated
Send-With-Invalidate, svc\_rdma\_get\_inv\_rkey() iterates all four
PCLs with pcl\_for\_each\_segment and dereferences segment-\>rs\_handle
on each iteration, turning the underflow into an out-of-bounds read
and a general protection fault.

    xdr\_check\_write\_list / xdr\_check\_reply\_chunk
      pcl\_alloc\_write()
        chunk = pcl\_alloc\_chunk(...)  /\* ch\_segcount = 0 \*/
        list\_add\_tail(&chunk-\>ch\_list, &pcl-\>cl\_chunks)
        /\* fill loop iterates zero times for wire segcount 0 \*/

    svc\_rdma\_get\_inv\_rkey()
      pcl\_for\_each\_chunk(rc\_write\_pcl)
        pcl\_for\_each\_segment(segment, chunk)
          pos \<= &ch\_segments\[0u - 1u\]  /\* 0xFFFFFFFF \*/
          segment-\>rs\_handle            /\* OOB read -\> GPF \*/

Fix by switching the macro to a half-open upper bound that uses
ch\_segcount directly. For ch\_segcount == 0 the loop start equals the
loop end and the body is skipped; for ch\_segcount \> 0 the iteration
range is unchanged. All six existing call sites in
net/sunrpc/xprtrdma/svc\_rdma\_recvfrom.c and
net/sunrpc/xprtrdma/svc\_rdma\_rw.c remain correct under the new bound,
so no caller changes are needed.

## Affected and fixed versions

- Linux: \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 1e2e3481e39103a386b86be1c33eaef97cbdf16e; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 3a78b841879c2a3243f74edc514236fb2907167f; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 06d0390c37fa6714624af771bd72bbf1a7ed9bb1; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 9c5a03c3dc505c0295339b0a1b9e4fe36447e482; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< a1c954ca4977a4e6ec73ef92fe48073ec54f9fc8; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 6d33a7e6bf6c6b293a266a617201285a1ad32c56; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< b7713a784c59515d0aba558c8f5df6a0164dd3a9 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89532. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89532.md
Affected: Linux >= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 1e2e3481e39103a386b86be1c33eaef97cbdf16e; >= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 3a78b841879c2a3243f74edc514236fb2907167f; >= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, < 06d0390c37fa6714624af771bd72bbf1a7ed9bb1; >= 78147ca8b4a9b6cf0e597dd…
Fixed in: Linux 1e2e3481e39103a386b86be1c33eaef97cbdf16e, Linux 3a78b841879c2a3243f74edc514236fb2907167f, Linux 06d0390c37fa6714624af771bd72bbf1a7ed9bb1, Linux 9c5a03c3dc505c0295339b0a1b9e4fe36447e482, Linux 6d33a7e6bf6c6b293a266a617201285a1ad32c56

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89532 being exploited?

There is no confirmed exploitation: CVE-2026-89532 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89532?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89532?

Linux \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 1e2e3481e39103a386b86be1c33eaef97cbdf16e; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 3a78b841879c2a3243f74edc514236fb2907167f; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 06d0390c37fa6714624af771bd72bbf1a7ed9bb1; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 9c5a03c3dc505c0295339b0a1b9e4fe36447e482; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< a1c954ca4977a4e6ec73ef92fe48073ec54f9fc8; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< 6d33a7e6bf6c6b293a266a617201285a1ad32c56; \>= 78147ca8b4a9b6cf0e597ddd6bf17959e08376c2, \< b7713a784c59515d0aba558c8f5df6a0164dd3a9; Linux 5.11.

### Is there a fix for CVE-2026-89532?

Yes. Fixed in Linux 1e2e3481e39103a386b86be1c33eaef97cbdf16e, Linux 3a78b841879c2a3243f74edc514236fb2907167f, Linux 06d0390c37fa6714624af771bd72bbf1a7ed9bb1, Linux 9c5a03c3dc505c0295339b0a1b9e4fe36447e482, Linux 6d33a7e6bf6c6b293a266a617201285a1ad32c56. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89532?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/1e2e3481e39103a386b86be1c33eaef97cbdf16e>
- other: <https://git.kernel.org/stable/c/3a78b841879c2a3243f74edc514236fb2907167f>
- other: <https://git.kernel.org/stable/c/06d0390c37fa6714624af771bd72bbf1a7ed9bb1>
- other: <https://git.kernel.org/stable/c/9c5a03c3dc505c0295339b0a1b9e4fe36447e482>
- other: <https://git.kernel.org/stable/c/a1c954ca4977a4e6ec73ef92fe48073ec54f9fc8>
- other: <https://git.kernel.org/stable/c/6d33a7e6bf6c6b293a266a617201285a1ad32c56>
- other: <https://git.kernel.org/stable/c/b7713a784c59515d0aba558c8f5df6a0164dd3a9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89532>

HTML: <https://flawdb.com/CVE-2026-89532> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89532>
