6.0medium
Buffer overflow in some filesystems via NFS
- Severity
- 6.0medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.45% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- freebsd
Description
On 64-bit systems, the implementation of VOP_VPTOFH() in the cd9660, tarfs and ext2fs filesystems overflows the destination FID buffer by 4 bytes, a stack buffer overflow. A NFS server that exports a cd9660, tarfs, or ext2fs file system can be made to panic by mounting and accessing the export with an NFS client. Further exploitation (e.g., bypassing file permission checking or remote kernel code execution) is potentially possible, though this has not been demonstrated. In particular, release kernels are compiled with stack protection enabled, and some instances of the overflow are caught by this mechanism, causing a panic.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 14.2-RELEASE before p1, from 14.1-RELEASE before p7, from 13.4-RELEASE before p3 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
On 64-bit systems, the implementation of VOP_VPTOFH() in the cd9660, tarfs and ext2fs filesystems overflows the destination FID buffer by 4 bytes, a stack buffer overflow. A NFS server that exports a cd9660, tarfs, or ext2fs file system can be made to panic by mounting and accessing the export with an NFS client. Further exploitation (e.g., bypassing file permission checking or remote kernel code execution) is potentially possible, though this has not been demonstrated. In particular, release kernels are compiled with stack protection enabled, and some instances of the overflow are caught by this mechanism, causing a panic.
NVD (es)
En sistemas de 64 bits, la implementación de VOP_VPTOFH() en los sistemas de archivos cd9660, tarfs y ext2fs desborda el búfer FID de destino en 4 bytes, lo que genera un desbordamiento del búfer de pila. Se puede hacer que un servidor NFS que exporta un sistema de archivos cd9660, tarfs o ext2fs entre en pánico montando y accediendo a la exportación con un cliente NFS. Es posible que se produzcan más explotaciones (por ejemplo, omitiendo la comprobación de permisos de archivos o la ejecución remota de código del núcleo), aunque esto no se ha demostrado. En particular, los núcleos de lanzamiento se compilan con la protección de pila habilitada, y este mecanismo detecta algunas instancias del desbordamiento, lo que genera un pánico.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-0373 changed 2025-02-07 | CVE Terms of Use |
| NVD | CVE-2025-0373 changed 2026-06-17 | Public domain |