CVE-2025-21795
NFSD: fix hang in nfsd4_shutdown_callback
Reported by linux · Published February 27, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 67ef9e5fd737eab2495f2586df7e9ea30caa1b77, 26540b8940a2e21582afa61a6fb8af87310bac72, 66af25799940b26efd41ea6e648f75c41a48a2c2 |
| Linux | Linux | 5.19, 0, 5.10.235 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.5, 3.1.6, 3.1.7 |
| linux | linux_kernel | 5.19, 5.15.154, 5.19 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 6.14, 67ef9e5fd737eab2495f2586df7e9ea30caa1b77, 26540b8940a2e21582afa61a6fb8af87310bac72 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.5, 3.1.7, 3.1.6 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.7, 3.1.5, 3.1.6 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.5, 3.1.6, 3.1.7 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.7, 3.1.6, 3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.5, 3.1.7 |
| amazon:2023 | kernel-libbpf | 0 |
…and 7 more
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Feb 28, 2025 Coalition ESS Score (13 in total, the first dated here)
- Dec 18, 2025 PoC Published
- Dec 22, 2025 Security Advisory (394 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (347 in total, the first dated here)
- Nov 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21795
vulnetix vdb fixes CVE-2025-21795
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21795/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html url
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html url
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html url
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html url
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html url
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html url
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html url