Description
A memory corruption vulnerability was found in the kernel function kern_getfsstat in MidnightBSD before 1.2.7 and 1.3 through 2020-08-19, and FreeBSD through 11.4, that allows an attacker to trigger an invalid free and crash the system via a crafted size value in conjunction with an invalid mode.
References (4)
Core 4
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://www.midnightbsd.org/notes/
Exploit, Third Party Advisory x_refsource_misc
https://github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.c
Exploit, Vendor Advisory x_refsource_confirm
http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txt
Patch, Vendor Advisory x_refsource_confirm
https://www.freebsd.org/security/advisories/FreeBSD-EN-20:18.getfsstat.asc
Scores
CVSS v3
5.5
EPSS
0.0010
EPSS Percentile
26.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-787
Status
published
Products (2)
freebsd/freebsd
< 11.4
midnightbsd/midnightbsd
< 1.2.7
Published
Sep 03, 2020
Tracked Since
Feb 18, 2026