CVE-2025-38393
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| kernel-livepatch-6.1.144-170.251 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| perf | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.144-170.251.amzn2023 |
| Linux | Linux | 864a54c1243ed3ca60baa4bc492dede1361f4c83, 5.19, 5.15.187, 5.10.240, 1f4da20080718f258e189a2c5f515385fa393da6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8acc3e228e1c90bd410f73597a4549e0409f22d6, ec23a86e060cbe30b62eb2955adc97c92d80cc4c, 880265c77ac415090090d1fe72a188fee71cb458 |
| Linux | Linux | 5.19, 0, 5.10.240 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.144-170.251 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 5.18.6, *, 6.12.37 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | perf6.12 | 0 |
…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