CVE-2026-89673 nfsd: fix XDR padding calculation in ff_encode_getdeviceinfo
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.195 이상 5.10.270 미만
- 5.15.132 이상 5.15.221 미만
- 6.1.53 이상 6.1.188 미만
- 4.14.326 이상 4.15 미만
- 4.19.295 이상 4.20 미만
- 5.4.257 이상 5.5 미만
- 6.4.16 이상 6.5 미만
- 6.5.3 이상 6.6 미만
외 1개 구간 펼치기
- 6.6
해결 버전
- 5.10.270 이상
- 5.15.221 이상
- 6.1.188 이상
- 4.15 이상
- 4.20 이상
- 5.5 이상
- 6.5 이상
- 6.6 이상
외 5개 구간 펼치기
- 6.6 미만
- 6.6.157 이상
- 6.12.109 이상
- 6.18.50 이상
- 7.2.4 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/15460c8e6c9bc92cda8f68bc419ac082300ab3d6 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/356decf074b82bac5564568203c12426dcea3470 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/41ebca28e17f84293650598f86bd69532ec1a8e0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/62e5949f0dd5ec837af144860ff908369df4c7c9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/74015b7be806ad9e21d46f7bd2831df280c6c783 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/88bce7e326c368d7df15126ccac537e54bebd467 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8b989aaec85e1293a871d602590c951fe44b8647 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9be67a6be48ddf2ebaa98c0df671690b8f9666e7 (새 창)