{"id":"CVE-2025-21795","summary":"NFSD: fix hang in nfsd4_shutdown_callback","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: fix hang in nfsd4_shutdown_callback\n\nIf nfs4_client is in courtesy state then there is no point to send\nthe callback. This causes nfsd4_shutdown_callback to hang since\ncl_cb_inflight is not 0. This hang lasts about 15 minutes until TCP\nnotifies NFSD that the connection was dropped.\n\nThis patch modifies nfsd4_run_cb_work to skip the RPC call if\nnfs4_client is in courtesy state.","modified":"2026-03-20T12:41:10.763469Z","published":"2025-02-27T02:18:31.538Z","related":["ALSA-2025:20095","ALSA-2025:20518","SUSE-SU-2025:01919-1","SUSE-SU-2025:0847-1","SUSE-SU-2025:0856-1","SUSE-SU-2025:0955-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21795.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/036ac2778f7b28885814c6fbc07e156ad1624d03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23ad7797c74cd8f7f90617f1e59a8703e2b43908"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38d345f612503b850c2973e5a879f88e441b34d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abed68027ea3ab893ac85cc46a00e2e64a324239"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cedfbb92cf97a6bff3d25633001d9c44442ee854"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e88d2451cd42e025465d6b51fd716a47b0b3800d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/efa8a261c575f816c7e79a87aeb3ef8a0bd6b221"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21795.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21795"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"67ef9e5fd737eab2495f2586df7e9ea30caa1b77"},{"fixed":"abed68027ea3ab893ac85cc46a00e2e64a324239"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"26540b8940a2e21582afa61a6fb8af87310bac72"},{"fixed":"efa8a261c575f816c7e79a87aeb3ef8a0bd6b221"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"66af25799940b26efd41ea6e648f75c41a48a2c2"},{"fixed":"38d345f612503b850c2973e5a879f88e441b34d7"},{"fixed":"23ad7797c74cd8f7f90617f1e59a8703e2b43908"},{"fixed":"cedfbb92cf97a6bff3d25633001d9c44442ee854"},{"fixed":"e88d2451cd42e025465d6b51fd716a47b0b3800d"},{"fixed":"036ac2778f7b28885814c6fbc07e156ad1624d03"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21795.json"}}],"schema_version":"1.7.5"}