CVE-2025-38393

NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN

MEDIUM
4.7
CVSS Score
Published: July 25, 2025 at 12:53 PM UTC
Updated: October 15, 2026 at 01:07 AM UTC
5 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.18.65.10.124 ≤ v < 5.10.2405.15.49 ≤ v < 5.15.1875.18.6 ≤ v < 5.195.19 ≤ v < 6.1.1445.19 ≤ v < 6.12.375.19 ≤ v < 6.15.65.19 ≤ v < 6.165.19 ≤ v < 6.6.975.19.1 ≤ v < 6.1.1446.13 ≤ v < 6.15.66.2 ≤ v < 6.6.976.7 ≤ v < 6.12.375.10.1245.15.495.18.65.195.19 rc35.19 rc45.19 rc55.19 rc65.19 rc75.19 rc86.16 rc16.16 rc26.16 rc36.16 rc4880265c77ac415090090d1fe72a188fee71cb4588acc3e228e1c90bd410f73597a4549e0409f22d6ec23a86e060cbe30b62eb2955adc97c92d80cc4cf133819e24e78f3aaaa00e9fa2b816d5f73fd172
Vendor states this is fixed in 08287df60bac5b008b6bcdb03053988335d3d282 (fixed)
Vendor states this is fixed in 1f4da20080718f258e189a2c5f515385fa393da6 (fixed)
Vendor states this is fixed in 864a54c1243ed3ca60baa4bc492dede1361f4c83 (fixed)
Vendor states this is fixed in 8846fd02c98da8b79e6343a20e6071be6f372180 (fixed)
Vendor states this is fixed in 8ca65fa71024a1767a59ffbc6a6e2278af84735e (fixed)
Vendor states this is fixed in c01776287414ca43412d1319d2877cbad65444ac (fixed)
Vendor states this is fixed in e4b13885e7ef1e64e45268feef1e5f0707c47e72 (fixed)
Vendor states this is fixed in 5.10.240 (unaffected)
Vendor states this is fixed in 5.15.187 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.144 (unaffected)
Vendor states this is fixed in 6.12.37 (unaffected)
Vendor states this is fixed in 6.15.6 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.97 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08287df60bac5b008b6bcdb03053988335d3d282
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1f4da20080718f258e189a2c5f515385fa393da6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/864a54c1243ed3ca60baa4bc492dede1361f4c83
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8846fd02c98da8b79e6343a20e6071be6f372180
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ca65fa71024a1767a59ffbc6a6e2278af84735e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c01776287414ca43412d1319d2877cbad65444ac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e4b13885e7ef1e64e45268feef1e5f0707c47e72
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card