7.5high
NFSv4: Fix a deadlock when recovering state on a sillyrenamed file
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from adb4b42d19aea91826621a8d0bac94cf2c08f8bc before 4fe4ae6c2e01d028856b73b6328b12b8945df871, from adb4b42d19aea91826621a8d0bac94cf2c08f8bc before f41a60bc43e7abbc636fee78bed0d74c31e738b0, from adb4b42d19aea91826621a8d0bac94cf2c08f8bc before 8f8df955f078e1a023ee55161935000a67651f38, 6.11 Not affected: before 6.11, from 6.12.18 up to 6.12.*, from 6.13.6 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.11 before 6.12.18, from 6.13 before 6.13.6, 6.14 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFSv4: Se corrige un bloqueo al recuperar el estado de un archivo con un nombre sillyrenombrado. Si el archivo tiene un nombre sillyrenombrado y se programa para eliminarse al cerrarse, es posible que un reinicio del servidor active una recuperación abierta, que puede competir con la llamada de la aplicación a close(). En este caso, la llamada a put_nfs_open_context() puede activar una llamada delegreturn síncrona que se bloquea al no estar marcada como privilegiada. En su lugar, asegúrese de que la llamada a nfs4_inode_return_delegation_on_close() capture la devolución delegreturn y la programe de forma asíncrona.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21900 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-21900 changed 2026-07-30 | Public domain |