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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-16 · Modified: 2026-06-16
- Aliases: UBUNTU-CVE-2025-68185, DEBIAN-CVE-2025-68185
- Record: https://cvemate.com/vulnerability/CVE-2025-68185 · JSON: https://cvemate.com/vulnerability/CVE-2025-68185/json

## Description

```text
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.
```

## Signals

- CVSS: 5.8 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.227%, percentile 14.281%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 157)

- debian linux (Debian): \< 6.1.159-1 \| \< 6.12.63-1 \| \< 6.17.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-173.183 \| \< 6.8.0-106.106 \| \< 6.17.0-14.14
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110 \| \< 6.8.0-1050.53 \| \< 6.17.0-1007.7
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1007.7~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1050.53~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1050.53+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1051.57 \| \< 6.17.0-1008.8

## References (first 20 of 37)

- <https://git.kernel.org/stable/c/6025f641a0e30afdc5aa62017397b1860ad9f677>
- <https://git.kernel.org/stable/c/e6cafe71eb3b5579b245ba1bd528a181e77f3df1>
- <https://git.kernel.org/stable/c/fa4daf7d11e45b72aad5d943a7ab991f869fff79>
- <https://git.kernel.org/stable/c/504b3fb9948a9e96ebbabdee0d33966a8bab15cb>
- <https://git.kernel.org/stable/c/eacfd08b26a062f1095b18719715bc82ad35312e>
- <https://git.kernel.org/stable/c/40be5b9080114f18b0cea386db415b68a7273c1a>
- <https://git.kernel.org/stable/c/f5e570eaab36a110c6ffda32b87c51170990c2d1>
- <https://git.kernel.org/stable/c/a890a2e339b929dbd843328f9a92a1625404fe63>
- <https://ubuntu.com/security/CVE-2025-68185>
- <https://www.cve.org/CVERecord?id=CVE-2025-68185>
- <https://git.kernel.org/linus/a890a2e339b929dbd843328f9a92a1625404fe63>
- <https://ubuntu.com/security/notices/USN-8029-1>
- <https://ubuntu.com/security/notices/USN-8030-1>
- <https://ubuntu.com/security/notices/USN-8029-2>
- <https://ubuntu.com/security/notices/USN-8048-1>
- <https://ubuntu.com/security/notices/USN-8029-3>
- <https://ubuntu.com/security/notices/USN-8095-1>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8100-1>
- <https://ubuntu.com/security/notices/USN-8095-2>

---

Data as of 2026-12-05T07:00:18.436Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
