Description
In MidnightBSD before 1.2.6 and 1.3 before August 2020, and FreeBSD before 7, a NULL pointer dereference was found in the Linux emulation layer that allows attackers to crash the running kernel. During binary interaction, td->td_emuldata in sys/compat/linux/linux_emul.h is not getting initialized and returns NULL from em_find().
References (2)
Core 2
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://www.midnightbsd.org/notes/
Vendor Advisory x_refsource_confirm
http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:02.txt
Scores
CVSS v3
5.5
EPSS
0.0004
EPSS Percentile
10.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-476
Status
published
Products (2)
freebsd/freebsd
< 7.0
midnightbsd/midnightbsd
< 1.2.6
Published
Sep 03, 2020
Tracked Since
Feb 18, 2026