vulnerability

FreeBSD: VID-a9c6e9be-61fb-11eb-b87a-901b0ef719ab (CVE-2020-25578): FreeBSD -- Uninitialized kernel stack leaks in several file systems

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
Published
Jan 29, 2021
Added
Jan 30, 2021
Modified
Dec 10, 2025

Description

Problem Description: 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. This problem is not present in FreeBSD 11. Additionally, msdosfs(5) was failing to zero-fill a pair of padding fields in the dirent structure, resulting in a leak of three uninitialized bytes. Impact: Kernel stack disclosures may leak sensitive information which could be used to compromise the security of the system.

Solutions

freebsd-upgrade-base-12_2-release-p3freebsd-upgrade-base-12_1-release-p13freebsd-upgrade-base-11_4-release-p7
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.