Linux
NFSv4: Fix a deadlock when recovering state on a sillyrenamed file
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= adb4b42d19aea91826621a8d0bac94cf2c08f8bc, < 4fe4ae6c2e01d028856b73b6328b12b8945df871
- >= adb4b42d19aea91826621a8d0bac94cf2c08f8bc, < f41a60bc43e7abbc636fee78bed0d74c31e738b0
- >= adb4b42d19aea91826621a8d0bac94cf2c08f8bc, < 8f8df955f078e1a023ee55161935000a67651f38
Fixed in 4fe4ae6c2e01d028856b73b6328b12b8945df871, f41a60bc43e7abbc636fee78bed0d74c31e738b0, 8f8df955f078e1a023ee55161935000a67651f38
- 6.11
Fixed in 0, 6.12.18, 6.13.6, 6.14
Mitigation
Upgrade Linux to 4fe4ae6c2e01d028856b73b6328b12b8945df871 or f41a60bc43e7abbc636fee78bed0d74c31e738b0 or 8f8df955f078e1a023ee55161935000a67651f38 or later.
Upgrade Linux to 0 or 6.12.18 or 6.13.6 or 6.14 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.