CVE-2026-99358: nfsd: zero NFSv4 COMPOUND tag padding
In the Linux kernel, the following vulnerability has been resolved:
nfsd: zero NFSv4 COMPOUND tag padding
nfs4svcencodecompoundres() copies the tag bytes into reserved XDR space and skips directly to the aligned end of the field. xdrreservespace() rounds the reservation up but does not initialize the padding bytes.
A remote client can choose a tag length that is not a multiple of four, causing one to three stale bytes from the response page to be returned in the COMPOUND reply.
Use xdrencodeopaquefixed() to copy the tag and clear its XDR padding.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Compensating control
In nfsd's nfs4svc_encode_compoundres(), use xdr_encode_opaque_fixed() to copy the COMPOUND tag and clear its XDR padding.