Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-72217

SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing
Back to all
CVE

CVE-2026-72217

SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing

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

SUNRPC: Bound-check xdrbufto_bvec() stores before writing

xdrbuftobvec() writes a biovec 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.

rqbvec, the array passed by nfsdvfs_write(), is allocated to

exactly rq_maxpages entries with no slack. The OOB store can land in

adjacent slab memory; the bvlen and bvoffset 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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/42f5b80dda6b86e424054baf1475df686c403d5c, 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://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72217.json, https://nvd.nist.gov/vuln/detail/CVE-2026-72217, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00618%
EPSS Percentile
0.47007%
Introduced Version
2eb2b93581813b74c7174961126f6ec38eadb5a7,6.6.0,6.7.0,6.13.0,6.19.0,0
Fix Available
42f5b80dda6b86e424054baf1475df686c403d5c,6.6.145,6.12.97,6.18.40,7.1.5,6.12.100-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading