CVE-2025-21795

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux67ef9e5fd737eab2495f2586df7e9ea30caa1b77 < abed68027ea3ab893ac85cc46a00e2e64a324239affected
LinuxLinux26540b8940a2e21582afa61a6fb8af87310bac72 < efa8a261c575f816c7e79a87aeb3ef8a0bd6b221affected
LinuxLinux66af25799940b26efd41ea6e648f75c41a48a2c2 < 38d345f612503b850c2973e5a879f88e441b34d7affected
LinuxLinux66af25799940b26efd41ea6e648f75c41a48a2c2 < 23ad7797c74cd8f7f90617f1e59a8703e2b43908affected
LinuxLinux66af25799940b26efd41ea6e648f75c41a48a2c2 < cedfbb92cf97a6bff3d25633001d9c44442ee854affected
LinuxLinux66af25799940b26efd41ea6e648f75c41a48a2c2 < e88d2451cd42e025465d6b51fd716a47b0b3800daffected
LinuxLinux66af25799940b26efd41ea6e648f75c41a48a2c2 < 036ac2778f7b28885814c6fbc07e156ad1624d03affected
LinuxLinux5.10.220 < 5.10.235affected
LinuxLinux5.15.154 < 5.15.179affected
LinuxLinux5.19affected
LinuxLinux0 < 5.19unaffected
LinuxLinux5.10.235 <= 5.10.*unaffected
LinuxLinux5.15.179 <= 5.15.*unaffected
LinuxLinux6.1.129 <= 6.1.*unaffected
LinuxLinux6.6.79 <= 6.6.*unaffected
LinuxLinux6.12.16 <= 6.12.*unaffected
LinuxLinux6.13.4 <= 6.13.*unaffected
LinuxLinux6.14 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

Additional References

References