# CVE-2026-89673: nfsd: fix XDR padding calculation in ff_encode_getdeviceinfo

- 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 12% of CVEs (2026-12-02)
- Published: 2026-09-11T19:45:58.149Z
- Modified: 2026-10-24T15:17:35.240Z
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from 3f1a2b0b2d575f39ff0bedb5411822fe7446a805 before 356decf074b82bac5564568203c12426dcea3470; from 19a648a07572c70fbe16faf0fafaf3dce9fd998a before 15460c8e6c9bc92cda8f68bc419ac082300ab3d6; from 6d08bd22fa2941a4d5ef45ed115dd00e484a93d7 before 9be67a6be48ddf2ebaa98c0df671690b8f9666e7; from 6372e2ee629894433fe6107d7048536a3280a284 before 88bce7e326c368d7df15126ccac537e54bebd467; from 6372e2ee629894433fe6107d7048536a3280a284 before 74015b7be806ad9e21d46f7bd2831df280c6c783; from 6372e2ee629894433fe6107d7048536a3280a284 before 41ebca28e17f84293650598f86bd69532ec1a8e0; from 6372e2ee629894433fe6107d7048536a3280a284 before 62e5949f0dd5ec837af144860ff908369df4c7c9; from 6372e2ee629894433fe6107d7048536a3280a284 before 8b989aaec85e1293a871d602590c951fe44b8647; 82e36f0c287769a0430268739a71dbd56df0e679; 6370e66a71c4869247f8f406c2a8b2c43df8998f; 16282aeca44bfac0d1ac3be6cd1a719d6ff3d749; efcae97fa425ca6db9d126e37daccf2d7225cb09; and 10 more (not affected: before 6.6; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/356decf074b82bac5564568203c12426dcea3470>
- <https://git.kernel.org/stable/c/15460c8e6c9bc92cda8f68bc419ac082300ab3d6>
- <https://git.kernel.org/stable/c/9be67a6be48ddf2ebaa98c0df671690b8f9666e7>
- <https://git.kernel.org/stable/c/88bce7e326c368d7df15126ccac537e54bebd467>
- <https://git.kernel.org/stable/c/74015b7be806ad9e21d46f7bd2831df280c6c783>
- <https://git.kernel.org/stable/c/41ebca28e17f84293650598f86bd69532ec1a8e0>
- <https://git.kernel.org/stable/c/62e5949f0dd5ec837af144860ff908369df4c7c9>
- <https://git.kernel.org/stable/c/8b989aaec85e1293a871d602590c951fe44b8647>

## Sources

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

---

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