Bug 2348523 (CVE-2025-21795) - CVE-2025-21795 kernel: NFSD: fix hang in nfsd4_shutdown_callback
Summary: CVE-2025-21795 kernel: NFSD: fix hang in nfsd4_shutdown_callback
Keywords:
Status: NEW
Alias: CVE-2025-21795
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-27 03:01 UTC by OSIDB Bzimport
Modified: 2025-02-27 17:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-27 03:01:49 UTC
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.

Comment 1 Mauro Matteo Cascella 2025-02-27 17:05:44 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022610-CVE-2025-21795-785d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.