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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99371, UBUNTU-CVE-2026-99371, CGA-5hpx-p572-8wjc, CGA-896r-4g87-q254, CGA-c74j-357q-pw8v, CGA-jmw4-r3r8-26q6, CGA-jq9w-wffr-w79j, CGA-m253-7346-rq6g, CGA-mmj4-9w26-9rx2, CGA-pp7j-wc67-32jf, CGA-pv9j-3mcq-4qj3, CGA-whvp-gqx7-w5f4, CGA-4hqc-hr96-mm8c, CGA-6fvr-357p-89w3, CGA-6qw3-cp22-xhvj, CGA-8qx4-j6vp-j875, CGA-q4mq-vv36-vrx9, CGA-rqj2-5r6c-p775, CGA-vx8g-54c3-jw46, CGA-532q-fj4w-jwx2, CGA-53jc-6v3f-r34q
- Record: https://cvemate.com/vulnerability/CVE-2026-99371 · JSON: https://cvemate.com/vulnerability/CVE-2026-99371/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.236%, percentile 15.625%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-99371>
- <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://ubuntu.com/security/CVE-2026-99371>
- <https://www.cve.org/CVERecord?id=CVE-2026-99371>
- <https://git.kernel.org/linus/daba58690339ae86f1ebeb5197aa1369fae37e57>

---

Data as of 2026-12-05T03:57:24.537Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
