CVE-2026-99371
nfsd: clear XDR padding in GETXATTR replies
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an attribute value. xdr_reserve_space() aligns the reservation but does not initialize the extra bytes. If the complete value fits in that fragment, the loop that clears padding for the final fragment is never entered. A remote client reading an attribute whose length is not a multiple of four can therefore receive one to three stale bytes from the response page. Encode the first fragment with xdr_encode_opaque_fixed(), matching the final-fragment path and ensuring that any XDR padding is zeroed.
INFO
Published Date :
Nov. 19, 2026, 3:17 p.m.
Last Modified :
Nov. 23, 2026, 8:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Encode the first fragment using xdr_encode_opaque_fixed().
- Match the final-fragment path for padding.
- Zero out any XDR padding.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99371.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99371 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99371
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99371 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99371 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99371.json">CVE-2026-99371</a> Added Reference https://git.kernel.org/stable/c/560803be825f30932af7ff97b7437059f55dced0 Added Reference https://git.kernel.org/stable/c/7a73ae3a6b3a0d37319ec9dc23bdb5906e695712 Added Reference https://git.kernel.org/stable/c/9fea978a36cc46870c32e404ce160abf917dd1c7 Added Reference https://git.kernel.org/stable/c/e2e76ac79296c3d0efdd0b7f183f33df7cee4c7e -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 19, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nfsd: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an attribute value. xdr_reserve_space() aligns the reservation but does not initialize the extra bytes. If the complete value fits in that fragment, the loop that clears padding for the final fragment is never entered. A remote client reading an attribute whose length is not a multiple of four can therefore receive one to three stale bytes from the response page. Encode the first fragment with xdr_encode_opaque_fixed(), matching the final-fragment path and ensuring that any XDR padding is zeroed. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99371.json">CVE-2026-99371</a> Added Reference https://git.kernel.org/stable/c/624531ecd48b96be2a94c964685762960bd11208 Added Reference https://git.kernel.org/stable/c/842e2215a87d062b69d5170840f34fbd83f47b41 Added Reference https://git.kernel.org/stable/c/99ab5346b69834587b4ae59d1addea5960b50c8b Added Reference https://git.kernel.org/stable/c/daba58690339ae86f1ebeb5197aa1369fae37e57