CVE-2025-68185

nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing

No CVSS score yet EPSS 0.23%

Published 16 Dec 2025 Updated 16 Jun 2026 CNA: Linux

Check your servers for CVE-2025-68185

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

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 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
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6025f641a0e30afdc5aa62017397b1860ad9f677
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e6cafe71eb3b5579b245ba1bd528a181e77f3df1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before fa4daf7d11e45b72aad5d943a7ab991f869fff79
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 504b3fb9948a9e96ebbabdee0d33966a8bab15cb
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before eacfd08b26a062f1095b18719715bc82ad35312e
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 40be5b9080114f18b0cea386db415b68a7273c1a
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f5e570eaab36a110c6ffda32b87c51170990c2d1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a890a2e339b929dbd843328f9a92a1625404fe63
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.4.302 up to and including 5.4.*
unaffected from 5.10.247 up to and including 5.10.*
unaffected from 5.15.197 up to and including 5.15.*
unaffected from 6.1.159 up to and including 6.1.*
unaffected from 6.6.117 up to and including 6.6.*
unaffected from 6.12.58 up to and including 6.12.*
unaffected from 6.17.8 up to and including 6.17.*
unaffected 6.18 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-68185 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68185

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-68185
trivy image --scanners vuln IMAGE | grep CVE-2025-68185

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

Source: the record CVE-2025-68185 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.