PT-2021-11155 · Freebsd · Freebsd

Published

2021-01-29

·

Updated

2021-06-03

·

CVE-2020-25578

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions: FreeBSD versions 12.2-STABLE before r368969 FreeBSD versions 11.4-STABLE before r369047 FreeBSD versions 12.2-RELEASE before p3 FreeBSD versions 12.1-RELEASE before p13 FreeBSD versions 11.4-RELEASE before p7
Description: The issue affects several file systems in FreeBSD, including tmpfs(5), smbfs(5), autofs(5), and mqueuefs(5), which were not properly initializing the d off field of the dirent structures returned by VOP READDIR. This results in the potential leak of eight uninitialized kernel stack bytes to userspace.
Recommendations: For FreeBSD versions 12.2-STABLE before r368969, update to a version after r368969. For FreeBSD versions 11.4-STABLE before r369047, update to a version after r369047. For FreeBSD versions 12.2-RELEASE before p3, update to a version after p3. For FreeBSD versions 12.1-RELEASE before p13, update to a version after p13. For FreeBSD versions 11.4-RELEASE before p7, update to a version after p7.

Exploit

Fix

Improper Initialization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-25578
FREEBSD-SA-21_01

Affected Products

Freebsd