cve/2020/CVE-2020-25578.md

20 lines
1021 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2020-25578](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25578)
![](https://img.shields.io/static/v1?label=Product&message=FreeBSD&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Improper%20initialization&color=brighgreen)
### Description
In FreeBSD 12.2-STABLE before r368969, 11.4-STABLE before r369047, 12.2-RELEASE before p3, 12.1-RELEASE before p13 and 11.4-RELEASE before p7 several file systems were not properly initializing the d_off field of the dirent structures returned by VOP_READDIR. In particular, tmpfs(5), smbfs(5), autofs(5) and mqueuefs(5) were failing to do so. As a result, eight uninitialized kernel stack bytes may be leaked to userspace by these file systems.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/elttam/publications
- https://github.com/farazsth98/freebsd-dirent-info-leak-bugs