System hang via NFS folio double-unlock
Published Jul 10, 2025 · Updated May 11, 2026
Deadlock in the Linux kernel NFS read path allows local users to hang processes by racing a file read with truncation from another client. The nfs_return_empty_folio() path calls folio_unlock() without the required nfs_netfs_folio_unlock() guard when fscache is enabled, toggling PG_locked back on. Exploitation requires fscache and precisely timed activity from another NFS client; affected processes wait indefinitely in folio_wait_bit_common().
Summary
What happened
Deadlock in the Linux kernel NFS read path allows local users to hang processes by racing a file read with truncation from another client. The nfs_return_empty_folio() path calls folio_unlock() without the required nfs_netfs_folio_unlock() guard when fscache is enabled, toggling PG_locked back on. Exploitation requires fscache and precisely timed activity from another NFS client; affected processes wait indefinitely in folio_wait_bit_common().
The record
- CVE
- CVE-2025-38338
- Published
- Jul 10, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-833, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=000dbe0bec058cbf2ca9e156e4a5584f5158b0f9 <14f5549ad163be2c018abc1bb38370fff617a243
- Affected versionversion=000dbe0bec058cbf2ca9e156e4a5584f5158b0f9 <1e93b61d3eaa14bfebcc2716ac09d43f3845d420
- Affected versionversion=000dbe0bec058cbf2ca9e156e4a5584f5158b0f9 <4c10fa44bc5f700e2ea21de2fbae520ba21f19d9
- Affected versionversion=000dbe0bec058cbf2ca9e156e4a5584f5158b0f9 <5bf0b9eeb0174686f22c2e5b8fb9f47ad25da6f5
- Affected versionversion=6.4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo