CVE-2025-21900
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.11 before 6.12.18, from 6.13 before 6.13.6, 6.14NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-667

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

SourceRecordLicence
CVE ListCVE-2025-21900 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-21900 changed 2026-07-30Public domain