CVE-2025-21795

NFSD: fix hang in nfsd4_shutdown_callback

MEDIUM
5.5
CVSS Score
Published: February 27, 2025 at 02:18 AM UTC
Updated: October 15, 2026 at 02:17 AM UTC
5 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.7%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.220 ≤ v < 5.10.2355.15.154 ≤ v < 5.15.1795.19 ≤ v < 6.1.1296.13 ≤ v < 6.13.46.2 ≤ v < 6.6.796.7 ≤ v < 6.12.1626540b8940a2e21582afa61a6fb8af87310bac725.10.2205.15.1546.146.14 rc16.14 rc266af25799940b26efd41ea6e648f75c41a48a2c267ef9e5fd737eab2495f2586df7e9ea30caa1b77
Vendor states this is fixed in 036ac2778f7b28885814c6fbc07e156ad1624d03 (fixed)
Vendor states this is fixed in 23ad7797c74cd8f7f90617f1e59a8703e2b43908 (fixed)
Vendor states this is fixed in 38d345f612503b850c2973e5a879f88e441b34d7 (fixed)
Vendor states this is fixed in abed68027ea3ab893ac85cc46a00e2e64a324239 (fixed)
Vendor states this is fixed in cedfbb92cf97a6bff3d25633001d9c44442ee854 (fixed)
Vendor states this is fixed in e88d2451cd42e025465d6b51fd716a47b0b3800d (fixed)
Vendor states this is fixed in efa8a261c575f816c7e79a87aeb3ef8a0bd6b221 (fixed)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.16 (unaffected)
Vendor states this is fixed in 6.13.4 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.79 (unaffected)

References (14)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/036ac2778f7b28885814c6fbc07e156ad1624d03
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/23ad7797c74cd8f7f90617f1e59a8703e2b43908
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38d345f612503b850c2973e5a879f88e441b34d7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/abed68027ea3ab893ac85cc46a00e2e64a324239
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cedfbb92cf97a6bff3d25633001d9c44442ee854
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e88d2451cd42e025465d6b51fd716a47b0b3800d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/efa8a261c575f816c7e79a87aeb3ef8a0bd6b221
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card