# CVE-2026-72217: SUNRPC: Bound-check xdr\_buf\_to\_bvec() stores before writing

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 42f5b80dda6b86e424054baf1475df686c403d5c, 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df, 6029e711a818bf34d6c4b90cafee24f3afffa110, 69e18135e2a004a79505451dbef07314ea16e1eb, 98414b42530af65cb984ffc12685096a3b5e179a (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-15 · Modified: 2026-08-17
- Aliases: UBUNTU-CVE-2026-72217, DEBIAN-CVE-2026-72217
- Record: https://cvemate.com/vulnerability/CVE-2026-72217 · JSON: https://cvemate.com/vulnerability/CVE-2026-72217/json

## Description

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

SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing

xdr_buf_to_bvec() writes a bio_vec into the caller's array before
testing whether that slot is in range, and the head branch performs
the store with no check at all. When the caller's budget is exactly
used up, the next store lands one element past the end of the array.
The overflow label returns count - 1, which masks the surplus store
but cannot undo it.

rq_bvec, the array passed by nfsd_vfs_write(), is allocated to
exactly rq_maxpages entries with no slack. The OOB store can land in
adjacent slab memory; the bv_len and bv_offset fields written there
are derived from client-supplied RPC payload sizes.

Move the in-range check ahead of the store in the head, page-loop,
and tail branches. With the check at the top of each sequence, count
is incremented only after a successful store, so the overflow label
can return count directly.
```

## 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.635%, percentile 51.859%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 144)

- debian linux (Debian): \< 6.12.100-1 \| \< 7.1.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-147.147 \| \< 7.0.0-34.34
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70 \| \< 7.0.0-1013.13
- 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.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): \< 7.0.0-1013.13~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1071.79 \| \< 7.0.0-1017.17
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 26)

- <https://git.kernel.org/stable/c/4a1148f2739d5089c3ca8ae2e9d1053e219ab5df>
- <https://git.kernel.org/stable/c/6029e711a818bf34d6c4b90cafee24f3afffa110>
- <https://git.kernel.org/stable/c/69e18135e2a004a79505451dbef07314ea16e1eb>
- <https://git.kernel.org/stable/c/98414b42530af65cb984ffc12685096a3b5e179a>
- <https://git.kernel.org/stable/c/42f5b80dda6b86e424054baf1475df686c403d5c>
- <https://ubuntu.com/security/CVE-2026-72217>
- <https://www.cve.org/CVERecord?id=CVE-2026-72217>
- <https://git.kernel.org/linus/42f5b80dda6b86e424054baf1475df686c403d5c>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8816-1>
- <https://ubuntu.com/security/notices/USN-8816-2>
- <https://ubuntu.com/security/notices/USN-8816-3>
- <https://ubuntu.com/security/notices/USN-8816-4>
- <https://ubuntu.com/security/notices/USN-8888-1>
- <https://ubuntu.com/security/notices/USN-8888-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-72217>
- <https://ubuntu.com/security/notices/USN-8917-1>
- <https://ubuntu.com/security/notices/USN-8918-1>
- <https://ubuntu.com/security/notices/USN-9003-1>
- <https://ubuntu.com/security/notices/USN-9025-1>

---

Data as of 2026-12-05T06:45:26.952Z. 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
