CVE-2025-38393: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN

Published Jul 25, 2025
·
Updated

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

23 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.10.124<5.10.240
Linux Linux kernel>=5.15.49<5.15.187
Linux Linux kernel>=5.18.6<5.19
Linux Linux kernel>=5.19.1<6.1.144
Linux Linux kernel>=6.2<6.6.97
Linux Linux kernel>=6.7<6.12.37
Linux Linux kernel>=6.13<6.15.6
Linux Linux kernel=5.19
Linux Linux kernel=5.19-rc3
Linux Linux kernel=5.19-rc4
Linux Linux kernel=5.19-rc5
Linux Linux kernel=5.19-rc6
Linux Linux kernel=5.19-rc7
Linux Linux kernel=5.19-rc8
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.96.2-2
Microsoft cbl2 kernel 5.15.186.1-1

Event History

Jul 25, 2025
CVE Published
via MITRE·12:53 PM
Data Sourced
via MITRE·12:53 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·10:00 PM
DescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Updated
via Microsoft·05:00 AM
SeverityAffected Software
Updated
via Microsoft·05:00 AM
DescriptionSeverity
Nov 6, 58546
Event
via MITRE·06:36 AM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203