CVE-2025-68185

published 16 Dec 2025 · updated 16 Jun 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 40be5b9080114f18b0cea386db415b68a7273c1a, Kernel 504b3fb9948a9e96ebbabdee0d33966a8bab15cb, Kernel 6025f641a0e30afdc5aa62017397b1860ad9f677 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <40be5b9080114f18b0cea386db415b68a7273c1a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <504b3fb9948a9e96ebbabdee0d33966a8bab15cb, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6025f641a0e30afdc5aa62017397b1860ad9f677, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a890a2e339b929dbd843328f9a92a1625404fe63, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e6cafe71eb3b5579b245ba1bd528a181e77f3df1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <eacfd08b26a062f1095b18719715bc82ad35312e, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f5e570eaab36a110c6ffda32b87c51170990c2d1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fa4daf7d11e45b72aad5d943a7ab991f869fff7940be5b9080114f18b0cea386db415b68a7273c1a, 504b3fb9948a9e96ebbabdee0d33966a8bab15cb, 6025f641a0e30afdc5aa62017397b1860ad9f677, a890a2e339b929dbd843328f9a92a1625404fe63, e6cafe71eb3b5579b245ba1bd528a181e77f3df1, eacfd08b26a062f1095b18719715bc82ad35312e, f5e570eaab36a110c6ffda32b87c51170990c2d1, fa4daf7d11e45b72aad5d943a7ab991f869fff79

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68185 severity on Zeptric[![CVE-2025-68185](https://zeptric.io/badge/cve/CVE-2025-68185.svg)](https://zeptric.io/cve/CVE-2025-68185)