What’s Vulnerable › Vulnerabilities

CVE-2025-21795: NFSD: fix hang in nfsd4_shutdown_callback

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.235, 5.15.179, 6.1.129, 6.12.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21795 or the next vulnerability affects your stack