nfsd: fix clock domain mismatch in clients_still_reclaiming()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel f9cec313efb2fd18d962aad738a4892bce806016, Kernel 04c3e4456fe76e8d7c94171009df3165c3262c51, Kernel 09ea3eb9a518565f5bca386e81b993ed8825f5e8 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <f9cec313efb2fd18d962aad738a4892bce806016, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <04c3e4456fe76e8d7c94171009df3165c3262c51, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <09ea3eb9a518565f5bca386e81b993ed8825f5e8, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <2c9efc6b692a153643d0f204b3c3632cb6b5761e, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <7ca44a63d9a554ba7ad05b06d88746eab08b760e, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <9843649196221152b6e5d138a3ce859bdaae1d96, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <a22ee3a2cadef44f2edeb909ae36bd72450a3a35, >=20b7d86f29d39e8ae19bb29c24ffee70dc385ddf <e92e80c5b043108029bc729b30d12c37158fb9cb, =5.6 | f9cec313efb2fd18d962aad738a4892bce806016, 04c3e4456fe76e8d7c94171009df3165c3262c51, 09ea3eb9a518565f5bca386e81b993ed8825f5e8, 2c9efc6b692a153643d0f204b3c3632cb6b5761e, 7ca44a63d9a554ba7ad05b06d88746eab08b760e, 9843649196221152b6e5d138a3ce859bdaae1d96, a22ee3a2cadef44f2edeb909ae36bd72450a3a35, e92e80c5b043108029bc729b30d12c37158fb9cb |
| linux-kernel: Kernel | >=5.16.0 <6.1.191, >=5.6.0 <5.10.273, >=6.13.0 <6.18.51, >=6.19.0 <7.2.4, >=6.2.0 <6.6.160, >=6.7.0 <6.12.111, >=5.11.0 <5.15.224 | 6.1.191, 5.10.273, 6.18.51, 7.2.4, 6.6.160, 6.12.111, 5.15.224 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket