CVE-2025-38724
nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
Check your servers for CVE-2025-38724
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-38724 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:
nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
Lei Lu recently reported that nfsd4_setclientid_confirm() did not check the return value from get_client_locked(). a SETCLIENTID_CONFIRM could race with a confirmed client expiring and fail to get a reference. That could later lead to a UAF.
Fix this by getting a reference early in the case where there is an extant confirmed client. If that fails then treat it as if there were no confirmed client found at all.
In the case where the unconfirmed client is expiring, just fail and return the result from get_client_locked().
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.43%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 38.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before 3f252a73e81aa01660cb426735eab932e6182e8d affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before d35ac850410966010e92f401f4e21868a9ea4d8b affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before f3aac6cf390d8b80e1d82975faf4ac61175519c0 affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before 22f45cedf281e6171817c8a3432c44d788c550e1 affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before d71abd1ae4e0413707cd42b10c24a11d1aa71772 affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before 74ad36ed60df561a303a19ecef400c7096b20306 affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before 36e83eda90e0e4ac52f259f775b40b2841f8a0a3 affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before 571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1 affected from d20c11d86d8f821a64eac7d6c8f296f06d935f4f, before 908e4ead7f757504d8b345452730636e298cbf68
Other versions: unaffected
|
| Linux |
affected 3.17 unaffected before 3.17 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.149 up to and including 6.1.* unaffected from 6.6.103 up to and including 6.6.* unaffected from 6.12.43 up to and including 6.12.* unaffected from 6.15.11 up to and including 6.15.* unaffected from 6.16.2 up to and including 6.16.* unaffected 6.17 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-38724 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38724
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-38724
trivy image --scanners vuln IMAGE | grep CVE-2025-38724
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/3f252a73e81aa01660cb426735eab932e6182e8d git.kernel.org
- https://git.kernel.org/stable/c/d35ac850410966010e92f401f4e21868a9ea4d8b git.kernel.org
- https://git.kernel.org/stable/c/f3aac6cf390d8b80e1d82975faf4ac61175519c0 git.kernel.org
- https://git.kernel.org/stable/c/22f45cedf281e6171817c8a3432c44d788c550e1 git.kernel.org
- https://git.kernel.org/stable/c/d71abd1ae4e0413707cd42b10c24a11d1aa71772 git.kernel.org
- https://git.kernel.org/stable/c/74ad36ed60df561a303a19ecef400c7096b20306 git.kernel.org
- https://git.kernel.org/stable/c/36e83eda90e0e4ac52f259f775b40b2841f8a0a3 git.kernel.org
- https://git.kernel.org/stable/c/571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1 git.kernel.org
- https://git.kernel.org/stable/c/908e4ead7f757504d8b345452730636e298cbf68 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
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
Source: the record CVE-2025-38724 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse