All reports
Medium

kernel: NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38393

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-21

Description

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.

A flaw was found in the Linux kernel's Parallel Network File System (pNFS) subsystem. A race condition can occur between waiting and waking processes during layout updates when handling asynchronous writeback operations. A local user accessing an active pNFS share could trigger this flaw to cause writeback tasks to hang indefinitely, resulting in a Denial of Service (DoS).