Description
The nfsrvd_readdir function in sys/fs/nfsserver/nfs_nfsdport.c in the new NFS server in FreeBSD 8.0 through 9.1-RELEASE-p3 does not verify that a READDIR request is for a directory node, which allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code by specifying a plain file instead of a directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | kfreebsd-9 | 9.0-10+deb70.1 | DSA-2672-1 |
Advisories 1
- DSA-2672-1 kfreebsd-9 - interpretation conflict Debian Security (DSA / DLA) · Mar 9, 2026
References
- 53241 third-party-advisory
- FreeBSD-SA-13:05 vendor-advisory
- DSA-2672 vendor-advisory
- 1028491 vdb-entry