In the Linux kernel, the following vulnerability has been resolved: nfsd: fix XDR padding calculation in ff_encode_getdeviceinfo… (CVE-2026-89673)
A vulnerability in the Linux kernel's NFS server (nfsd) component related to incorrect XDR padding calculation in the ff_encode_getdeviceinfo function has been resolved. The issue causes the declared length of a data field to exceed the actual encoded data by 2-8 bytes, leading to leakage of stale data from previous replies and misalignment in decoding subsequent data. This affects the GETDEVICEINFO replies in flexfile NFS operations.
AI Analysis
Technical Summary
The Linux kernel's nfsd4_ff_encode_getdeviceinfo() function incorrectly calculates the reservation size for da_addr_body as 16 + netid_len + addr_len, while the actual encoding via xdr_encode_opaque() writes 8 + round_up(netid_len, 4) + round_up(addr_len, 4) bytes. This mismatch causes the declared length to be larger than the actual data by 2-8 bytes, resulting in leakage of stale reply-page content to clients and misalignment in decoding the version list. The fix involves using xdr_align_size() to correctly align string lengths to match the actual encoded size.
Potential Impact
Clients receiving GETDEVICEINFO replies from the vulnerable nfsd may receive stale data from previous replies due to the length mismatch, potentially leaking unintended information. Additionally, the misalignment can cause errors in decoding subsequent version list data. There is no indication of remote code execution or privilege escalation from this vulnerability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the XDR padding calculation by using xdr_align_size() for string lengths. Users should apply the official kernel update that includes this fix. Since no vendor advisory or patch link is provided, check the Linux kernel mailing lists or official repositories for the patch and update guidance.
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix XDR padding calculation in ff_encode_getdeviceinfo… (CVE-2026-89673)
Description
A vulnerability in the Linux kernel's NFS server (nfsd) component related to incorrect XDR padding calculation in the ff_encode_getdeviceinfo function has been resolved. The issue causes the declared length of a data field to exceed the actual encoded data by 2-8 bytes, leading to leakage of stale data from previous replies and misalignment in decoding subsequent data. This affects the GETDEVICEINFO replies in flexfile NFS operations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's nfsd4_ff_encode_getdeviceinfo() function incorrectly calculates the reservation size for da_addr_body as 16 + netid_len + addr_len, while the actual encoding via xdr_encode_opaque() writes 8 + round_up(netid_len, 4) + round_up(addr_len, 4) bytes. This mismatch causes the declared length to be larger than the actual data by 2-8 bytes, resulting in leakage of stale reply-page content to clients and misalignment in decoding the version list. The fix involves using xdr_align_size() to correctly align string lengths to match the actual encoded size.
Potential Impact
Clients receiving GETDEVICEINFO replies from the vulnerable nfsd may receive stale data from previous replies due to the length mismatch, potentially leaking unintended information. Additionally, the misalignment can cause errors in decoding subsequent version list data. There is no indication of remote code execution or privilege escalation from this vulnerability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the XDR padding calculation by using xdr_align_size() for string lengths. Users should apply the official kernel update that includes this fix. Since no vendor advisory or patch link is provided, check the Linux kernel mailing lists or official repositories for the patch and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fpgc-gpfg-74f9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89673"]
Threat ID: 6aa4a00455bf5e2cf5a8662e
Added to database: 09/12/2026, 00:42:44 UTC
Last enriched: 09/12/2026, 00:57:50 UTC
Last updated: 09/12/2026, 00:57:50 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.