Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
20b7d86f29d39e8ae19bb29c24ffee70dc385ddf to < 04c3e4456fe76e8d7c94171009df3165c3262c51affected20b7d86f29d39e8ae19bb29c24ffee70dc385ddf to < e92e80c5b043108029bc729b30d12c37158fb9cbaffected20b7d86f29d39e8ae19bb29c24ffee70dc385ddf to < f9cec313efb2fd18d962aad738a4892bce806016affected20b7d86f29d39e8ae19bb29c24ffee70dc385ddf to < 9843649196221152b6e5d138a3ce859bdaae1d96affected20b7d86f29d39e8ae19bb29c24ffee70dc385ddf to < 09ea3eb9a518565f5bca386e81b993ed8825f5e8affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected6.6.160 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/04c3e4456fe76e8d7c94171009df3165c3262c51 ↗
- https://git.kernel.org/stable/c/e92e80c5b043108029bc729b30d12c37158fb9cb ↗
- https://git.kernel.org/stable/c/f9cec313efb2fd18d962aad738a4892bce806016 ↗
- https://git.kernel.org/stable/c/9843649196221152b6e5d138a3ce859bdaae1d96 ↗
- https://git.kernel.org/stable/c/09ea3eb9a518565f5bca386e81b993ed8825f5e8 ↗