Bug 2383408 (CVE-2025-38393) - CVE-2025-38393 kernel: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
Summary: CVE-2025-38393 kernel: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
Keywords:
Status: NEW
Alias: CVE-2025-38393
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-25 14:03 UTC by OSIDB Bzimport
Modified: 2025-08-01 14:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-25 14:03:06 UTC
In 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.


Note You need to log in before you can comment on or make changes to this bug.