# CVE-2025-38724: nfsd: handle get\_client\_locked() failure in nfsd4\_setclientid\_confirm()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.82% (percentile 55, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2025-09-04T15:33:22.370Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 3f252a73e81aa01660cb426735eab932e6182e8d; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< d35ac850410966010e92f401f4e21868a9ea4d8b; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< f3aac6cf390d8b80e1d82975faf4ac61175519c0; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 22f45cedf281e6171817c8a3432c44d788c550e1; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< d71abd1ae4e0413707cd42b10c24a11d1aa71772; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 74ad36ed60df561a303a19ecef400c7096b20306; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 36e83eda90e0e4ac52f259f775b40b2841f8a0a3; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 908e4ead7f757504d8b345452730636e298cbf68
- Anyone running Linux 3.17

## 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().

## Affected and fixed versions

- Linux: \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 3f252a73e81aa01660cb426735eab932e6182e8d; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< d35ac850410966010e92f401f4e21868a9ea4d8b; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< f3aac6cf390d8b80e1d82975faf4ac61175519c0; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 22f45cedf281e6171817c8a3432c44d788c550e1; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< d71abd1ae4e0413707cd42b10c24a11d1aa71772; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 74ad36ed60df561a303a19ecef400c7096b20306; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 36e83eda90e0e4ac52f259f775b40b2841f8a0a3; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 908e4ead7f757504d8b345452730636e298cbf68 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 908e4ead7f757504d8b345452730636e298cbf68 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38724. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38724.md
Affected: Linux >= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, < 3f252a73e81aa01660cb426735eab932e6182e8d; >= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, < d35ac850410966010e92f401f4e21868a9ea4d8b; >= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, < f3aac6cf390d8b80e1d82975faf4ac61175519c0; >= d20c11d86d8f821a64eac7d…
Fixed in: Linux 3f252a73e81aa01660cb426735eab932e6182e8d, Linux 22f45cedf281e6171817c8a3432c44d788c550e1, Linux 74ad36ed60df561a303a19ecef400c7096b20306, Linux 36e83eda90e0e4ac52f259f775b40b2841f8a0a3, Linux 571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1, Linux 908e4ead7f757504d8b345452730636e298cbf68

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38724 being exploited?

There is no confirmed exploitation: CVE-2025-38724 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-38724?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-38724?

Linux \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 3f252a73e81aa01660cb426735eab932e6182e8d; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< d35ac850410966010e92f401f4e21868a9ea4d8b; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< f3aac6cf390d8b80e1d82975faf4ac61175519c0; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 22f45cedf281e6171817c8a3432c44d788c550e1; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< d71abd1ae4e0413707cd42b10c24a11d1aa71772; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 74ad36ed60df561a303a19ecef400c7096b20306; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 36e83eda90e0e4ac52f259f775b40b2841f8a0a3; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1; \>= d20c11d86d8f821a64eac7d6c8f296f06d935f4f, \< 908e4ead7f757504d8b345452730636e298cbf68; Linux 3.17.

### Is there a fix for CVE-2025-38724?

Yes. Fixed in Linux 3f252a73e81aa01660cb426735eab932e6182e8d, Linux 22f45cedf281e6171817c8a3432c44d788c550e1, Linux 74ad36ed60df561a303a19ecef400c7096b20306, Linux 36e83eda90e0e4ac52f259f775b40b2841f8a0a3, Linux 571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1, Linux 908e4ead7f757504d8b345452730636e298cbf68. Upgrade Linux to 908e4ead7f757504d8b345452730636e298cbf68 or later.

### How do I check if I'm affected by CVE-2025-38724?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3f252a73e81aa01660cb426735eab932e6182e8d>
- patch: <https://git.kernel.org/stable/c/d35ac850410966010e92f401f4e21868a9ea4d8b>
- patch: <https://git.kernel.org/stable/c/f3aac6cf390d8b80e1d82975faf4ac61175519c0>
- patch: <https://git.kernel.org/stable/c/22f45cedf281e6171817c8a3432c44d788c550e1>
- patch: <https://git.kernel.org/stable/c/d71abd1ae4e0413707cd42b10c24a11d1aa71772>
- patch: <https://git.kernel.org/stable/c/74ad36ed60df561a303a19ecef400c7096b20306>
- patch: <https://git.kernel.org/stable/c/36e83eda90e0e4ac52f259f775b40b2841f8a0a3>
- patch: <https://git.kernel.org/stable/c/571a5e46c71490285d2d8c06f6b5a7cbf6c7edd1>
- patch: <https://git.kernel.org/stable/c/908e4ead7f757504d8b345452730636e298cbf68>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38724>

HTML: <https://flawdb.com/CVE-2025-38724> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38724>
