VDB

CVE-2025-38393

CVE-2025-38393 PUBLISHED CVSS 7.5 HIGH

NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN

Reported by linux · Published July 25, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux1:6.1.144-170.251.amzn2023
kernel6.12-headersAmazon Linux1:6.12.37-61.105.amzn2023
kernel-livepatch-6.1.144-170.251Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.37-61.105.amzn2023
kernel-modules-extraAmazon Linux1:6.1.144-170.251.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.37-61.105.amzn2023
perfAmazon Linux1:6.1.144-170.251.amzn2023
kernelAmazon Linux1:6.1.144-170.251.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.144-170.251.amzn2023
LinuxLinux864a54c1243ed3ca60baa4bc492dede1361f4c83, 5.19, 5.15.187, 5.10.240, 1f4da20080718f258e189a2c5f515385fa393da6

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux8acc3e228e1c90bd410f73597a4549e0409f22d6, ec23a86e060cbe30b62eb2955adc97c92d80cc4c, 880265c77ac415090090d1fe72a188fee71cb458
LinuxLinux5.19, 0, 5.10.240
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.1.144-170.2510
amazon:2023kernel6.12-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-libbpf-static0
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
LinuxLinux5.18.6, *, 6.12.37
amazon:2023kernel6.12-modules-extra0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023bpftool0
amazon:2023bpftool6.120
amazon:2023kernel-headers0
amazon:2023python3-perf6.120
amazon:2023python3-perf0
amazon:2023perf6.120

…and 16 more

Timeline

  • Jul 25, 2025 CVE Published
  • Jul 26, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (16 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (243 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (260 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38393
vulnetix vdb fixes CVE-2025-38393

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38393/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›