CVE-2025-38393
NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
Check your servers for CVE-2025-38393
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38393 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8acc3e228e1c90bd410f73597a4549e0409f22d6, before 08287df60bac5b008b6bcdb03053988335d3d282 affected from ec23a86e060cbe30b62eb2955adc97c92d80cc4c, before 8846fd02c98da8b79e6343a20e6071be6f372180 affected from 880265c77ac415090090d1fe72a188fee71cb458, before e4b13885e7ef1e64e45268feef1e5f0707c47e72 affected from 880265c77ac415090090d1fe72a188fee71cb458, before 8ca65fa71024a1767a59ffbc6a6e2278af84735e affected from 880265c77ac415090090d1fe72a188fee71cb458, before 864a54c1243ed3ca60baa4bc492dede1361f4c83 affected from 880265c77ac415090090d1fe72a188fee71cb458, before 1f4da20080718f258e189a2c5f515385fa393da6 affected from 880265c77ac415090090d1fe72a188fee71cb458, before c01776287414ca43412d1319d2877cbad65444ac affected f133819e24e78f3aaaa00e9fa2b816d5f73fd172 affected from 5.10.124, before 5.10.240 affected from 5.15.49, before 5.15.187 affected from 5.18.6, before 5.19
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 5.10.240 up to and including 5.10.* unaffected from 5.15.187 up to and including 5.15.* unaffected from 6.1.144 up to and including 6.1.* unaffected from 6.6.97 up to and including 6.6.* unaffected from 6.12.37 up to and including 6.12.* unaffected from 6.15.6 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38393 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38393
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38393
trivy image --scanners vuln IMAGE | grep CVE-2025-38393
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/08287df60bac5b008b6bcdb03053988335d3d282 git.kernel.org
- https://git.kernel.org/stable/c/8846fd02c98da8b79e6343a20e6071be6f372180 git.kernel.org
- https://git.kernel.org/stable/c/e4b13885e7ef1e64e45268feef1e5f0707c47e72 git.kernel.org
- https://git.kernel.org/stable/c/8ca65fa71024a1767a59ffbc6a6e2278af84735e git.kernel.org
- https://git.kernel.org/stable/c/864a54c1243ed3ca60baa4bc492dede1361f4c83 git.kernel.org
- https://git.kernel.org/stable/c/1f4da20080718f258e189a2c5f515385fa393da6 git.kernel.org
- https://git.kernel.org/stable/c/c01776287414ca43412d1319d2877cbad65444ac git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
Source: the record CVE-2025-38393 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse