nfsd: fix clock domain mismatch in clients_still_reclaiming()
- 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.6.160, 6.12.111, 6.18.51, 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
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix clock domain mismatch in clients_still_reclaiming() clients_still_reclaiming() computes a deadline from nn->boot_time (CLOCK_REALTIME, ~1.7 billion) but compares it against ktime_get_boottime_seconds() (CLOCK_BOOTTIME, seconds since boot). The comparison is always false — it would take ~54 years of uptime for BOOTTIME to exceed the REALTIME-derived deadline. This means any client can hold the server in grace indefinitely by sending CLAIM_PREVIOUS OPEN requests, blocking all non-reclaim operations for all other clients. Add boot_time_bt (CLOCK_BOOTTIME) alongside the existing boot_time and use it for the deadline computation. boot_time (CLOCK_REALTIME) is preserved for its cl_boot clientid-nonce role.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 20b7d86f29d39e8ae19bb29c24ffee70dc385ddf · fixed in 04c3e4456fe76e8d7c94171009df3165c3262c51; From 20b7d86f29d39e8ae19bb29c24ffee70dc385ddf · fixed in e92e80c5b043108029bc729b30d12c37158fb9cb; From 20b7d86f29d39e8ae19bb29c24ffee70dc385ddf · fixed in f9cec313efb2fd18d962aad738a4892bce806016; From 20b7d86f29d39e8ae19bb29c24ffee70dc385ddf · fixed in 9843649196221152b6e5d138a3ce859bdaae1d96; From 20b7d86f29d39e8ae19bb29c24ffee70dc385ddf · fixed in 09ea3eb9a518565f5bca386e81b993ed8825f5e8
- Linux Linux
5.6
- KernelLinux
From 5.6.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.4