# CVE-2026-99371: nfsd: clear XDR padding in GETXATTR replies

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-11-19T14:23:07.497Z
- Modified: 2026-11-23T08:17:42.033Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before 9fea978a36cc46870c32e404ce160abf917dd1c7; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before 7a73ae3a6b3a0d37319ec9dc23bdb5906e695712; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before 560803be825f30932af7ff97b7437059f55dced0; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before e2e76ac79296c3d0efdd0b7f183f33df7cee4c7e; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before 842e2215a87d062b69d5170840f34fbd83f47b41; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before 624531ecd48b96be2a94c964685762960bd11208; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before 99ab5346b69834587b4ae59d1addea5960b50c8b; from 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 before daba58690339ae86f1ebeb5197aa1369fae37e57; 5.9 (not affected: before 5.9; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/9fea978a36cc46870c32e404ce160abf917dd1c7>
- <https://git.kernel.org/stable/c/7a73ae3a6b3a0d37319ec9dc23bdb5906e695712>
- <https://git.kernel.org/stable/c/560803be825f30932af7ff97b7437059f55dced0>
- <https://git.kernel.org/stable/c/e2e76ac79296c3d0efdd0b7f183f33df7cee4c7e>
- <https://git.kernel.org/stable/c/842e2215a87d062b69d5170840f34fbd83f47b41>
- <https://git.kernel.org/stable/c/624531ecd48b96be2a94c964685762960bd11208>
- <https://git.kernel.org/stable/c/99ab5346b69834587b4ae59d1addea5960b50c8b>
- <https://git.kernel.org/stable/c/daba58690339ae86f1ebeb5197aa1369fae37e57>

## Sources

- CVE List: [CVE-2026-99371](https://www.cve.org/CVERecord?id=CVE-2026-99371), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99371](https://nvd.nist.gov/vuln/detail/CVE-2026-99371), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99371 · Whole record: https://cve.day/CVE-2026-99371.json · Rebuilt by cve.day 2026-11-25T22:59:52.046Z
