CVE-2025-21795: NFSD: fix hang in nfsd4_shutdown_callback
In the Linux kernel, the following vulnerability has been resolved:
NFSD: fix hang in nfsd4shutdowncallback
If nfs4client is in courtesy state then there is no point to send the callback. This causes nfsd4shutdowncallback to hang since clcbinflight is not 0. This hang lasts about 15 minutes until TCP notifies NFSD that the connection was dropped.
This patch modifies nfsd4runcbwork to skip the RPC call if nfs4client is in courtesy state.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21795?
The severity of CVE-2025-21795 is moderate due to its potential to cause service disruption.
How do I fix CVE-2025-21795?
To fix CVE-2025-21795, you should update your Linux kernel to the latest stable version that includes the patch.
What systems are affected by CVE-2025-21795?
CVE-2025-21795 affects various versions of the Linux kernel.
What does CVE-2025-21795 impact?
CVE-2025-21795 impacts the NFS daemon, which can lead to a hang during shutdown if in a specific state.
When was CVE-2025-21795 disclosed?
CVE-2025-21795 was disclosed in early 2025.