CVE-2025-21795: Linux kernel NFSD courtesy-state callback shutdown hang
- Vendor
- Linux
CVE-2025-21795 is an availability vulnerability in the Linux kernel's NFSv4 server callback handling. NFSD unnecessarily attempts a callback RPC to an nfs4_client in courtesy state, leaving cl_cb_inflight nonzero and causing nfsd4_shutdown_callback to hang. The hang can persist for approximately 15 minutes until TCP notifies NFSD that the connection has been dropped. The fix modifies nfsd4_run_cb_work to skip callback RPCs for clients in courtesy state.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability can delay NFSD callback shutdown for approximately 15 minutes, disrupting affected server operations and reducing service availability. Confidentiality loss, integrity compromise, and code execution are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is established. For affected Siemens systems awaiting fixes, restrict interactive shell access to trusted personnel, run only trusted applications, and protect device network access using appropriate access controls. These measures reduce exposure but do not correct the callback handling defect.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the change to nfsd4_run_cb_work that skips callback RPCs when nfs4_client is in courtesy state. For Google Container-Optimized OS, update the affected csql-kernel-6_1 and lakitu-kernel-6_1 packages to version 17800.519.1 or later. Red Hat fixes are available through RHSA-2025:20095 for RHEL 10, RHSA-2025:20518 for RHEL 9, and RHSA-2026:0804 for RHEL 9.6 Extended Update Support; the latter supplies kernel 5.14.0-570.79.1.el9_6. Reboot after installing the updated kernel. For affected Siemens products, no fixed firmware is identified in the listed advisory revisions; deploy a Siemens-supported fix when available.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-21795 exploited in the wild?
- As of Nov 10, 2026, Mallory has no reports of CVE-2025-21795 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-21795?
- As of Nov 10, 2026, Mallory has found no public exploit for CVE-2025-21795.
- Is there a patch for CVE-2025-21795?
- Install a vendor-supported kernel update containing the change to nfsd4_run_cb_work that skips callback RPCs when nfs4_client is in courtesy state. For Google Container-Optimized OS, update the affected csql-kernel-6_1 and lakitu-kernel-6_1 packages to version 17800.519.1 or later.
- What products are affected by CVE-2025-21795?
- Linux Kernel.
- How severe is CVE-2025-21795?
- CVE-2025-21795 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.86% (56th percentile) as of Nov 10, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.