{"id":"CVE-2025-21795","aliases":["CVE-2025-21795"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: fix hang in nfsd4_shutdown_callback","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFSD: se corrige el bloqueo en nfsd4_shutdown_callback Si nfs4_client está en estado de cortesía, no tiene sentido enviar la devolución de llamada. Esto hace que nfsd4_shutdown_callback se bloquee ya que cl_cb_inflight no es 0. Este bloqueo dura unos 15 minutos hasta que TCP notifica a NFSD que se interrumpió la conexión. Este parche modifica nfsd4_run_cb_work para omitir la llamada RPC si nfs4_client está en estado de cortesía.","source":"nvd"}],"published":"2025-02-27T02:18:31.538Z","modified":"2026-11-10T13:17:35.850Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"67ef9e5fd737eab2495f2586df7e9ea30caa1b77","fixed":"abed68027ea3ab893ac85cc46a00e2e64a324239","status":"affected"},{"type":"git","introduced":"26540b8940a2e21582afa61a6fb8af87310bac72","fixed":"efa8a261c575f816c7e79a87aeb3ef8a0bd6b221","status":"affected"},{"type":"git","introduced":"66af25799940b26efd41ea6e648f75c41a48a2c2","fixed":"38d345f612503b850c2973e5a879f88e441b34d7","status":"affected"},{"type":"git","introduced":"66af25799940b26efd41ea6e648f75c41a48a2c2","fixed":"23ad7797c74cd8f7f90617f1e59a8703e2b43908","status":"affected"},{"type":"git","introduced":"66af25799940b26efd41ea6e648f75c41a48a2c2","fixed":"cedfbb92cf97a6bff3d25633001d9c44442ee854","status":"affected"},{"type":"git","introduced":"66af25799940b26efd41ea6e648f75c41a48a2c2","fixed":"e88d2451cd42e025465d6b51fd716a47b0b3800d","status":"affected"},{"type":"git","introduced":"66af25799940b26efd41ea6e648f75c41a48a2c2","fixed":"036ac2778f7b28885814c6fbc07e156ad1624d03","status":"affected"},{"type":"semver","introduced":"5.10.220","fixed":"5.10.235","status":"affected"},{"type":"semver","introduced":"5.15.154","fixed":"5.15.179","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.79","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.16","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.4","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10.220","fixed":"5.10.235"},{"status":"affected","introduced":"5.15.154","fixed":"5.15.179"},{"status":"affected","introduced":"5.19","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.79"},{"status":"affected","introduced":"6.7","fixed":"6.12.16"},{"status":"affected","introduced":"6.13","fixed":"6.13.4"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/abed68027ea3ab893ac85cc46a00e2e64a324239","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efa8a261c575f816c7e79a87aeb3ef8a0bd6b221","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38d345f612503b850c2973e5a879f88e441b34d7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23ad7797c74cd8f7f90617f1e59a8703e2b43908","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cedfbb92cf97a6bff3d25633001d9c44442ee854","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e88d2451cd42e025465d6b51fd716a47b0b3800d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/036ac2778f7b28885814c6fbc07e156ad1624d03","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21795","url":"https://www.cve.org/CVERecord?id=CVE-2025-21795","licence":"CVE Terms of Use","modified":"2026-11-10T12:35:04.871Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21795","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21795","licence":"Public domain","modified":"2026-11-10T13:17:35.850Z"}],"updatedAt":"2026-11-25T22:58:54.571Z","epss":{"score":0.00668,"percentile":0.5318,"date":"2026-12-01T12:00:22.000Z"}}