# CVE-2025-21900: NFSv4: Fix a deadlock when recovering state on a sillyrenamed file

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-04-01T15:26:51.290Z
- Modified: 2026-08-05T11:55:15.442Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.11 before 6.12.18; from 6.13 before 6.13.6; 6.14

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/4fe4ae6c2e01d028856b73b6328b12b8945df871> (patch)
- <https://git.kernel.org/stable/c/f41a60bc43e7abbc636fee78bed0d74c31e738b0> (patch)
- <https://git.kernel.org/stable/c/8f8df955f078e1a023ee55161935000a67651f38> (patch)

## Sources

- CVE List: [CVE-2025-21900](https://www.cve.org/CVERecord?id=CVE-2025-21900), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21900](https://nvd.nist.gov/vuln/detail/CVE-2025-21900), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21900 · Whole record: https://cve.day/CVE-2025-21900.json · Rebuilt by cve.day 2026-11-25T22:58:55.876Z
