GHSA-pqvp-pfwp-hf4cunknown
In the Linux kernel, the following vulnerability has been resolved: nfsd: validate nseconds in...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
nfsd: validate nseconds in TIME_DELEG decode paths
The xdrgen-based TIME_DELEG_ACCESS and TIME_DELEG_MODIFY decode arms store a raw uint32_t nseconds directly into tv_nsec without enforcing nseconds < NSEC_PER_SEC. The legacy nfsd4_decode_nfstime4 has this check but the TIME_DELEG paths do not. A malformed timespec can propagate through notify_change() to disk.
Add range checks in both nfs4xdr.c (SETATTR path) and nfs4callback.c (CB_GETATTR path).
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-89701
- https://git.kernel.org/stable/c/0f4a767340fad392bd656115b8752005518c9065
- https://git.kernel.org/stable/c/5eb489831a9fd4754f4baf26e6989efb66ce104c
- https://git.kernel.org/stable/c/7e7b93da7fa2e77f977096251899d1410986adf6
- https://github.com/advisories/GHSA-pqvp-pfwp-hf4c