All reports
Medium

kernel: NFSD: fix hang in nfsd4_shutdown_callback

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21795

Probability of exploitation in the next 30 days: 0.67%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: fix hang in nfsd4_shutdown_callback If nfs4_client is in courtesy state then there is no point to send the callback. This causes nfsd4_shutdown_callback to hang since cl_cb_inflight is not 0. This hang lasts about 15 minutes until TCP notifies NFSD that the connection was dropped. This patch modifies nfsd4_run_cb_work to skip the RPC call if nfs4_client is in courtesy state.

A flaw was found in the Linux kernel's Network File System daemon (NFSD). When an NFSv4 client enters an inactive courtesy state, the server continues attempting to send callback requests rather than skipping them. This issue causes server callback shutdown routines to stall, allowing a client to trigger a temporary Denial of Service (DoS) by delaying server callback operations until network timeouts expire.