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

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-28)
- **Published:** 2026-08-15T05:54:10.888Z
- **Modified:** 2026-08-17T06:18:22.683Z

## Who should check

- Anyone running Linux \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 6029e711a818bf34d6c4b90cafee24f3afffa110; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 69e18135e2a004a79505451dbef07314ea16e1eb; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 98414b42530af65cb984ffc12685096a3b5e179a; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 42f5b80dda6b86e424054baf1475df686c403d5c
- Anyone running Linux 6.6

## Description

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.

## Affected and fixed versions

- Linux: \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 6029e711a818bf34d6c4b90cafee24f3afffa110; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 69e18135e2a004a79505451dbef07314ea16e1eb; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 98414b42530af65cb984ffc12685096a3b5e179a; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 42f5b80dda6b86e424054baf1475df686c403d5c (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 42f5b80dda6b86e424054baf1475df686c403d5c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-72217.md
Affected: Linux >= 2eb2b93581813b74c7174961126f6ec38eadb5a7, < 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df; >= 2eb2b93581813b74c7174961126f6ec38eadb5a7, < 6029e711a818bf34d6c4b90cafee24f3afffa110; >= 2eb2b93581813b74c7174961126f6ec38eadb5a7, < 69e18135e2a004a79505451dbef07314ea16e1eb; >= 2eb2b93581813b74c717496…
Fixed in: Linux 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df, Linux 6029e711a818bf34d6c4b90cafee24f3afffa110, Linux 69e18135e2a004a79505451dbef07314ea16e1eb, Linux 98414b42530af65cb984ffc12685096a3b5e179a, Linux 42f5b80dda6b86e424054baf1475df686c403d5c

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-72217 being exploited?

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

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

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

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

Linux \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 6029e711a818bf34d6c4b90cafee24f3afffa110; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 69e18135e2a004a79505451dbef07314ea16e1eb; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 98414b42530af65cb984ffc12685096a3b5e179a; \>= 2eb2b93581813b74c7174961126f6ec38eadb5a7, \< 42f5b80dda6b86e424054baf1475df686c403d5c; Linux 6.6.

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

Yes. Fixed in Linux 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df, Linux 6029e711a818bf34d6c4b90cafee24f3afffa110, Linux 69e18135e2a004a79505451dbef07314ea16e1eb, Linux 98414b42530af65cb984ffc12685096a3b5e179a, Linux 42f5b80dda6b86e424054baf1475df686c403d5c. Upgrade Linux to 42f5b80dda6b86e424054baf1475df686c403d5c or later.

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

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/4a1148f2739d5089c3ca8ae2e9d1053e219ab5df>
- other: <https://git.kernel.org/stable/c/6029e711a818bf34d6c4b90cafee24f3afffa110>
- other: <https://git.kernel.org/stable/c/69e18135e2a004a79505451dbef07314ea16e1eb>
- other: <https://git.kernel.org/stable/c/98414b42530af65cb984ffc12685096a3b5e179a>
- other: <https://git.kernel.org/stable/c/42f5b80dda6b86e424054baf1475df686c403d5c>

## 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-72217>

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