CVE-2026-72217SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Aug 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from 2eb2b93581813b74c7174961126f6ec38eadb5a7 before 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df; from 2eb2b93581813b74c7174961126f6ec38eadb5a7 before 6029e711a818bf34d6c4b90cafee24f3afffa110; from 2eb2b93581813b74c7174961126f6ec38eadb5a7 before 69e18135e2a004a79505451dbef07314ea16e1eb; from 2eb2b93581813b74c7174961126f6ec38eadb5a7 before 98414b42530af65cb984ffc12685096a3b5e179a; from 2eb2b93581813b74c7174961126f6ec38eadb5a7 before 42f5b80dda6b86e424054baf1475df686c403d5c | CNA record |
References
- 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
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.