AZL-114749: CVE-2026-99370 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
NFSD: copy SETXATTR data from all XDR buffer segments
nfsd4vbuffromvector() 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, nfsd4decodesetxattr() passes an xdrbuf returned by xdrstreamsubsegment(). Such a sub-buffer can have a nonzero pagebase and can span its page and tail segments. Ignoring that layout can copy the wrong bytes into the value passed to vfssetxattr().
Use readbytesfromxdrbuf(), which observes the complete xdrbuf layout.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel NFSD SETXATTR path, use read_bytes_from_xdr_buf() to copy data from the complete xdr_buf layout instead of manually copying the head and pages in nfsd4_vbuf_from_vector().