Skip to content
OpenAdvisories
Unscored CVE-2026-99370 EUVD-2026-130028GHSA-wr7p-m5x2-fh88

NFSD: copy SETXATTR data from all XDR buffer segments

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by Linux

Description

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.

Affected products

VendorProductAffectedFixed
Linux Linux 5.10.220 – < 5.11, 5.11 5.11

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 7.3.3-1 —
Debian 13 linux 6.12.117-1 —
Debian 12 linux No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kernel No fix yet —

Advisories 1

References