nfsd: validate nseconds in TIME_DELEG decode paths
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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).
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 6ae30d6eb26bce02c48c60074b4306270e2434c1 · fixed in 7e7b93da7fa2e77f977096251899d1410986adf6; From 6ae30d6eb26bce02c48c60074b4306270e2434c1 · fixed in 5eb489831a9fd4754f4baf26e6989efb66ce104c; From 6ae30d6eb26bce02c48c60074b4306270e2434c1 · fixed in 0f4a767340fad392bd656115b8752005518c9065
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4