CVE Database›CVE-2025-38393

CVE-2025-38393

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

Loading…

Severity

Moderate

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · July 25, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability is rated as Moderate because triggering it depends on winning a specific race condition during asynchronous writeback on NFSv4 mounts utilizing parallel NFS (pNFS), with the impact restricted to a denial of service. The flaw cannot be leveraged for privilege escalation or unauthorized data disclosure. Systems are only susceptible if they actively mount remote shares using pNFS layouts, meaning configurations relying on traditional NFS or local storage remain unaffected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-821 · Incorrect Synchronization