Bug 2356667 (CVE-2025-21900) - CVE-2025-21900 kernel: NFSv4: Fix a deadlock when recovering state on a sillyrenamed file
Summary: CVE-2025-21900 kernel: NFSv4: Fix a deadlock when recovering state on a silly...
Keywords:
Status: NEW
Alias: CVE-2025-21900
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-04-01 16:05 UTC by OSIDB Bzimport
Modified: 2025-04-01 23:29 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:05:11 UTC
In the Linux kernel, the following vulnerability has been resolved:

NFSv4: Fix a deadlock when recovering state on a sillyrenamed file

If the file is sillyrenamed, and slated for delete on close, it is
possible for a server reboot to triggeer an open reclaim, with can again
race with the application call to close(). When that happens, the call
to put_nfs_open_context() can trigger a synchronous delegreturn call
which deadlocks because it is not marked as privileged.

Instead, ensure that the call to nfs4_inode_return_delegation_on_close()
catches the delegreturn, and schedules it asynchronously.


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