CVE-2026-99370

Source
https://cve.org/CVERecord?id=CVE-2026-99370
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99370.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99370
Downstream
Published
2026-11-19T14:23:06Z
Modified
2026-11-19T17:00:43Z
Summary
NFSD: copy SETXATTR data from all XDR buffer segments
Details

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

NFSD: copy SETXATTR data from all XDR buffer segments

nfsd4_vbuf_from_vector() manually copies the head followed by whole pages starting at offset zero. This assumes that all remaining data starts at the beginning of the page array and that no data is stored in the tail.

However, nfsd4_decode_setxattr() passes an xdr_buf returned by xdr_stream_subsegment(). Such a sub-buffer can have a nonzero page_base and can span its page and tail segments. Ignoring that layout can copy the wrong bytes into the value passed to vfs_setxattr().

Use read_bytes_from_xdr_buf(), which observes the complete xdr_buf layout.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99370.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
c1346a1216ab5cb04a265380ac9035d91b16b6d5
Fixed
019cf7e0eebf6dc14b465cc984390b41c854da69
Fixed
20b76bdbd029343ea98944cb88bf016da2371739
Fixed
fea77ec4a37614cbbe4fb26c621227182439f487
Fixed
b01319947c69b0e3ea0fcd4b675eb892f9cad8a0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b

Affected versions

v5.*
v5.10.220
v5.10.221
v5.10.222
v5.10.223
v5.10.224
v5.10.225
v5.10.226
v5.10.227
v5.10.228
v5.10.229
v5.10.230
v5.10.231
v5.10.232
v5.10.233
v5.10.234
v5.10.235
v5.10.236
v5.10.237
v5.10.238
v5.10.239
v5.10.240
v5.10.241
v5.10.242
v5.10.243
v5.10.244
v5.10.245
v5.10.246
v5.10.247
v5.10.248
v5.10.249
v5.10.250
v5.10.251
v5.10.252
v5.10.253
v5.10.254
v5.10.255
v5.10.256
v5.10.257
v5.10.258
v5.10.259
v5.10.260
v5.10.261
v5.10.262
v5.10.263
v5.10.264
v5.10.265
v5.10.266
v5.10.267
v5.10.268
v5.10.269
v5.10.270
v5.10.271
v5.10.272
v5.10.273
v5.10.274

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.220
Fixed
5.11
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

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