{"id":"CVE-2025-21900","summary":"NFSv4: Fix a deadlock when recovering state on a sillyrenamed file","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4: Fix a deadlock when recovering state on a sillyrenamed file\n\nIf the file is sillyrenamed, and slated for delete on close, it is\npossible for a server reboot to triggeer an open reclaim, with can again\nrace with the application call to close(). When that happens, the call\nto put_nfs_open_context() can trigger a synchronous delegreturn call\nwhich deadlocks because it is not marked as privileged.\n\nInstead, ensure that the call to nfs4_inode_return_delegation_on_close()\ncatches the delegreturn, and schedules it asynchronously.","modified":"2026-03-20T12:41:13.685601Z","published":"2025-04-01T15:26:51.290Z","related":["USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21900.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4fe4ae6c2e01d028856b73b6328b12b8945df871"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f8df955f078e1a023ee55161935000a67651f38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f41a60bc43e7abbc636fee78bed0d74c31e738b0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21900.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21900"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"adb4b42d19aea91826621a8d0bac94cf2c08f8bc"},{"fixed":"4fe4ae6c2e01d028856b73b6328b12b8945df871"},{"fixed":"f41a60bc43e7abbc636fee78bed0d74c31e738b0"},{"fixed":"8f8df955f078e1a023ee55161935000a67651f38"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21900.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}