CVE-2025-21795

NFSD: fix hang in nfsd4_shutdown_callback

At a glance

Severity
HIGH 7.5
EPSS
EPSS 0.67 % · percentile 52 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 67ef9e5fd737eab2495f2586df7e9ea30caa1b77 < abed68027ea3ab893ac85cc46a00e2e64a324239 ; affected 26540b8940a2e21582afa61a6fb8af87310bac72 < efa8a261c575f816c7e79a87aeb3ef8a0bd6b221 ; affected 66af25799940b26efd41ea6e648f75c41a48a2c2 < 38d345f612503b850c2973e5a879f88e441b34d7 ; affected 66af25799940b26efd41ea6e648f75c41a48a2c2 < 23ad7797c74cd8f7f90617f1e59a8703e2b43908 ; affected 66af25799940b26efd41ea6e648f75c41a48a2c2 < cedfbb92cf97a6bff3d25633001d9c44442ee854 ; affected 66af25799940b26efd41ea6e648f75c41a48a2c2 < e88d2451cd42e025465d6b51fd716a47b0b3800d
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 5.10.235 ≤ 5.10.* ; unaffected 5.15.179 ≤ 5.15.* ; unaffected 6.1.129 ≤ 6.1.* ; unaffected 6.6.79 ≤ 6.6.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD