CVE-2026-99370
NFSD: copy SETXATTR data from all XDR buffer segments
- Severity
- critical CVSS 9.4 (v3.1)
- Affects
- Linux
- Published
- 19 November 2026 by Linux
- First seen on our lists
- 19 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.