CVE-2025-38393: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
In the Linux kernel, the following vulnerability has been resolved:
NFSv4/pNFS: Fix a race to wake on NFSLAYOUTDRAIN
We found a few different systems hung up in writeback waiting on the same page lock, and one task waiting on the NFSLAYOUTDRAIN bit in pnfsupdatelayout(), however the pnfslayouthdr's plhoutstanding count was zero.
It seems most likely that this is another race between the waiter and waker similar to commit ed0172af5d6f ("SUNRPC: Fix a race to wake a sync task"). Fix it up by applying the advised barrier.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38393?
CVE-2025-38393 has been classified as a high-severity vulnerability due to potential system hangs affecting writeback operations.
How do I fix CVE-2025-38393?
To fix CVE-2025-38393, it is recommended to update the Linux kernel to the latest version that includes the patch for this vulnerability.
Which versions of the Linux kernel are affected by CVE-2025-38393?
CVE-2025-38393 affects specific versions of the Linux kernel that utilize NFSv4/pNFS features.
What impact does CVE-2025-38393 have on system performance?
The impact of CVE-2025-38393 can lead to degraded system performance as tasks may hang waiting on page locks during NFS operations.
Is CVE-2025-38393 specific to certain Linux distributions?
CVE-2025-38393 is a vulnerability in the Linux kernel itself and can affect any Linux distribution utilizing the kernel version with the flaw.