nfsd: fix XDR padding calculation in ff_encode_getdeviceinfo

Summary

CVECVE-2026-89673
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-11 20:19:53 UTC
Updated2026-09-11 20:19:53 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: nfsd: fix XDR padding calculation in ff_encode_getdeviceinfo nfsd4_ff_encode_getdeviceinfo() computes the da_addr_body reservation as 16 + netid_len + addr_len, but the subsequent xdr_encode_opaque() calls emit 8 + round_up(netid_len, 4) + round_up(addr_len, 4) bytes. The mismatch means the declared da_addr_body length exceeds the actual encoded data by 2-8 bytes on every flexfile GETDEVICEINFO reply, leaking stale reply-page content to the client and mis-aligning the subsequent version list decode. Use xdr_align_size() for each string length to match what xdr_encode_opaque() actually writes.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected efcae97fa425ca6db9d126e37daccf2d7225cb09 74015b7be806ad9e21d46f7bd2831df280c6c783 git Not specified
CNA Linux Linux affected efcae97fa425ca6db9d126e37daccf2d7225cb09 41ebca28e17f84293650598f86bd69532ec1a8e0 git Not specified
CNA Linux Linux affected efcae97fa425ca6db9d126e37daccf2d7225cb09 62e5949f0dd5ec837af144860ff908369df4c7c9 git Not specified
CNA Linux Linux affected efcae97fa425ca6db9d126e37daccf2d7225cb09 8b989aaec85e1293a871d602590c951fe44b8647 git Not specified
CNA Linux Linux affected 6.4.16 6.12.109 semver Not specified
CNA Linux Linux affected 6.4.16 6.18.50 semver Not specified
CNA Linux Linux affected 6.4.16 7.2.4 semver Not specified
CNA Linux Linux affected 6.4.16 7.3-rc1 semver Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/62e5949f0dd5ec837af144860ff908369df4c7c9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/74015b7be806ad9e21d46f7bd2831df280c6c783 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/41ebca28e17f84293650598f86bd69532ec1a8e0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8b989aaec85e1293a871d602590c951fe44b8647 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report