CVE-2026-72217
SUNRPC: Bound-check xdr_buf_to_bvec() stores before writing
Check your servers for CVE-2026-72217
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72217 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2eb2b93581813b74c7174961126f6ec38eadb5a7, before 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df affected from 2eb2b93581813b74c7174961126f6ec38eadb5a7, before 6029e711a818bf34d6c4b90cafee24f3afffa110 affected from 2eb2b93581813b74c7174961126f6ec38eadb5a7, before 69e18135e2a004a79505451dbef07314ea16e1eb affected from 2eb2b93581813b74c7174961126f6ec38eadb5a7, before 98414b42530af65cb984ffc12685096a3b5e179a affected from 2eb2b93581813b74c7174961126f6ec38eadb5a7, before 42f5b80dda6b86e424054baf1475df686c403d5c
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72217 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72217
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72217
trivy image --scanners vuln IMAGE | grep CVE-2026-72217
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4a1148f2739d5089c3ca8ae2e9d1053e219ab5df git.kernel.org
- https://git.kernel.org/stable/c/6029e711a818bf34d6c4b90cafee24f3afffa110 git.kernel.org
- https://git.kernel.org/stable/c/69e18135e2a004a79505451dbef07314ea16e1eb git.kernel.org
- https://git.kernel.org/stable/c/98414b42530af65cb984ffc12685096a3b5e179a git.kernel.org
- https://git.kernel.org/stable/c/42f5b80dda6b86e424054baf1475df686c403d5c git.kernel.org
Source: the record CVE-2026-72217 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse