# CVE-2025-68185: nfs4\_setup\_readdir(): insufficient locking for -\>d\_parent-\>d\_inode dereferencing

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T13:43:02.894Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6025f641a0e30afdc5aa62017397b1860ad9f677; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e6cafe71eb3b5579b245ba1bd528a181e77f3df1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fa4daf7d11e45b72aad5d943a7ab991f869fff79; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 504b3fb9948a9e96ebbabdee0d33966a8bab15cb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eacfd08b26a062f1095b18719715bc82ad35312e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40be5b9080114f18b0cea386db415b68a7273c1a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f5e570eaab36a110c6ffda32b87c51170990c2d1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a890a2e339b929dbd843328f9a92a1625404fe63
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfs4\_setup\_readdir(): insufficient locking for -\>d\_parent-\>d\_inode dereferencing

Theoretically it's an oopsable race, but I don't believe one can manage
to hit it on real hardware; might become doable on a KVM, but it still
won't be easy to attack.

Anyway, it's easy to deal with - since xdr\_encode\_hyper() is just a call of
put\_unaligned\_be64(), we can put that under -\>d\_lock and be done with that.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6025f641a0e30afdc5aa62017397b1860ad9f677; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e6cafe71eb3b5579b245ba1bd528a181e77f3df1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fa4daf7d11e45b72aad5d943a7ab991f869fff79; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 504b3fb9948a9e96ebbabdee0d33966a8bab15cb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eacfd08b26a062f1095b18719715bc82ad35312e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40be5b9080114f18b0cea386db415b68a7273c1a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f5e570eaab36a110c6ffda32b87c51170990c2d1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a890a2e339b929dbd843328f9a92a1625404fe63 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68185.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6025f641a0e30afdc5aa62017397b1860ad9f677; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e6cafe71eb3b5579b245ba1bd528a181e77f3df1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fa4daf7d11e45b72aad5d943a7ab991f869fff79; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 6025f641a0e30afdc5aa62017397b1860ad9f677, Linux 504b3fb9948a9e96ebbabdee0d33966a8bab15cb, Linux 40be5b9080114f18b0cea386db415b68a7273c1a

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-68185 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6025f641a0e30afdc5aa62017397b1860ad9f677; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e6cafe71eb3b5579b245ba1bd528a181e77f3df1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fa4daf7d11e45b72aad5d943a7ab991f869fff79; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 504b3fb9948a9e96ebbabdee0d33966a8bab15cb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eacfd08b26a062f1095b18719715bc82ad35312e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40be5b9080114f18b0cea386db415b68a7273c1a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f5e570eaab36a110c6ffda32b87c51170990c2d1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a890a2e339b929dbd843328f9a92a1625404fe63; Linux 2.6.12.

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

Yes. Fixed in Linux 6025f641a0e30afdc5aa62017397b1860ad9f677, Linux 504b3fb9948a9e96ebbabdee0d33966a8bab15cb, Linux 40be5b9080114f18b0cea386db415b68a7273c1a. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/6025f641a0e30afdc5aa62017397b1860ad9f677>
- other: <https://git.kernel.org/stable/c/e6cafe71eb3b5579b245ba1bd528a181e77f3df1>
- other: <https://git.kernel.org/stable/c/fa4daf7d11e45b72aad5d943a7ab991f869fff79>
- other: <https://git.kernel.org/stable/c/504b3fb9948a9e96ebbabdee0d33966a8bab15cb>
- other: <https://git.kernel.org/stable/c/eacfd08b26a062f1095b18719715bc82ad35312e>
- other: <https://git.kernel.org/stable/c/40be5b9080114f18b0cea386db415b68a7273c1a>
- other: <https://git.kernel.org/stable/c/f5e570eaab36a110c6ffda32b87c51170990c2d1>
- other: <https://git.kernel.org/stable/c/a890a2e339b929dbd843328f9a92a1625404fe63>

## 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-68185>

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