Not scored
nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing
- Severity
- Not scored
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6025f641a0e30afdc5aa62017397b1860ad9f677, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e6cafe71eb3b5579b245ba1bd528a181e77f3df1, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fa4daf7d11e45b72aad5d943a7ab991f869fff79, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 504b3fb9948a9e96ebbabdee0d33966a8bab15cb, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before eacfd08b26a062f1095b18719715bc82ad35312e, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 40be5b9080114f18b0cea386db415b68a7273c1a, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f5e570eaab36a110c6ffda32b87c51170990c2d1, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a890a2e339b929dbd843328f9a92a1625404fe63 and 1 more Not affected: before 2.6.12, from 5.4.302 up to 5.4.*, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nfs4_setup_readdir(): bloqueo insuficiente para la desreferenciación de -> d_parent -> d_inode Teóricamente es una condición de carrera que puede causar un 'oops', pero no creo que se pueda lograr activarla en hardware real; podría volverse factible en un KVM, pero aún así no será fácil de atacar. De todos modos, es fácil de solucionar: ya que xdr_encode_hyper() es solo una llamada a put_unaligned_be64(), podemos poner eso bajo -> d_lock y terminar con eso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68185 changed 2026-06-16 | CVE Terms of Use |
| NVD | CVE-2025-68185 changed 2026-10-14 | Public domain |