nfsd: clear XDR padding in GETXATTR replies (Linux Linux)

CVE-2026-99371
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < 9fea978a36cc46870c32e404ce160abf917dd1c7
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < 7a73ae3a6b3a0d37319ec9dc23bdb5906e695712
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < 560803be825f30932af7ff97b7437059f55dced0
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < e2e76ac79296c3d0efdd0b7f183f33df7cee4c7e
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < 842e2215a87d062b69d5170840f34fbd83f47b41
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < 624531ecd48b96be2a94c964685762960bd11208
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < 99ab5346b69834587b4ae59d1addea5960b50c8b
affected : ≥ 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 < daba58690339ae86f1ebeb5197aa1369fae37e57
Other versions : unaffected
Linux · Linux
affected : 5.9
unaffected : ≥ 0 < 5.9
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD