CVE-2026-72217

Source
https://cve.org/CVERecord?id=CVE-2026-72217
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72217.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72217
Downstream
Published
2026-08-15T05:54:10.888Z
Modified
2026-08-18T03:56:22.619950278Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing
Details

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 nfsdvfswrite(), is allocated to exactly rqmaxpages 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72217.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2eb2b93581813b74c7174961126f6ec38eadb5a7
Fixed
4a1148f2739d5089c3ca8ae2e9d1053e219ab5df
Fixed
6029e711a818bf34d6c4b90cafee24f3afffa110
Fixed
69e18135e2a004a79505451dbef07314ea16e1eb
Fixed
98414b42530af65cb984ffc12685096a3b5e179a
Fixed
42f5b80dda6b86e424054baf1475df686c403d5c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72217.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72217.json"