CVE-2020-25578: Medium severity freebsd kernel vulnerability
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 doff field of the dirent structures returned by VOPREADDIR. 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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2020-25578?
CVE-2020-25578 is a vulnerability in FreeBSD that affects several file systems and could lead to improper initialization of dirent structures.
How does CVE-2020-25578 impact FreeBSD?
CVE-2020-25578 can impact FreeBSD versions 11.4, 12.1, and 12.2, causing the d_off field of dirent structures to be improperly initialized in certain file systems.
What is the severity of CVE-2020-25578?
CVE-2020-25578 has a severity rating of 5.3, which is considered medium.
How can I fix CVE-2020-25578 in FreeBSD?
To fix CVE-2020-25578, it is recommended to update to the appropriate patched version of FreeBSD, such as 11.4-p7, 12.1-p13, or 12.2-p3, depending on the affected version.
Where can I find more information about CVE-2020-25578?
You can find more information about CVE-2020-25578 in the FreeBSD Security Advisory FreeBSD-SA-21:01.fsdisclosure.asc and the NetApp advisory ntap-20210423-0002.