CVE-2025-21795

Source
https://cve.org/CVERecord?id=CVE-2025-21795
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21795.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21795
Downstream
Related
Published
2025-02-27T02:18:31.538Z
Modified
2026-03-20T12:41:10.763469Z
Summary
NFSD: fix hang in nfsd4_shutdown_callback
Details

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 clcb_inflight 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21795.json"
}
References

Affected packages

Git / 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"