CVE-2025-38393
MediumIn the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN We found a few different systems hung up in writeback waiting on the same page lock, and one task waiting on the NFS_LAYOUT_DRAIN bit in pnfs_update_layout(), however the pnfs_layout_hdr's plh_outstanding 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2025-38393 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.10.124,
5.15.49,
5.18.6,
5.19
and later are affected. Fixed in
5.10.240,
5.15.187,
6.1.144,
6.6.97,
6.12.37,
6.15.6,
6.16
and their respective stable series.
References
The following references provide additional information about CVE-2025-38393 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Third Party Advisory
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/08287df60bac5b008b6bcdb03053988335d3d282
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1f4da20080718f258e189a2c5f515385fa393da6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/864a54c1243ed3ca60baa4bc492dede1361f4c83
Frequently asked questions
-
What is CVE-2025-38393?
CVE-2025-38393 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 5.10.124 onward and has been patched in 5.10.240, 5.15.187, 6.1.144 and others. CVE-2025-38393 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38393?
CVE-2025-38393 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38393?
Yes — CVE-2025-38393 has been patched. Fixed versions include 5.10.240, 5.15.187, 6.1.144 and others. If you are running Linux kernel 5.10.124 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38393 actively exploited?
No — CVE-2025-38393 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →