9.8

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 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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 2eb2b93581813b74c7174961126f6ec38eadb5a7
Version < 4a1148f2739d5089c3ca8ae2e9d1053e219ab5df
Status affected
Version 2eb2b93581813b74c7174961126f6ec38eadb5a7
Version < 6029e711a818bf34d6c4b90cafee24f3afffa110
Status affected
Version 2eb2b93581813b74c7174961126f6ec38eadb5a7
Version < 69e18135e2a004a79505451dbef07314ea16e1eb
Status affected
Version 2eb2b93581813b74c7174961126f6ec38eadb5a7
Version < 98414b42530af65cb984ffc12685096a3b5e179a
Status affected
Version 2eb2b93581813b74c7174961126f6ec38eadb5a7
Version < 42f5b80dda6b86e424054baf1475df686c403d5c
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.6
Status affected
Version 0
Version < 6.6
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.97
Status unaffected
Version <= 6.18.*
Version 6.18.40
Status unaffected
Version <= 7.1.*
Version 7.1.5
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.63% 0.471
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
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