Skip to content
OpenAdvisories
Medium · 4.7 CVE-2022-23089 EUVD-2022-28194GHSA-gr4v-q65c-996m

Out of bound read in elf_note_prpsinfo()

Published Feb 15, 2024 · Updated Mar 13, 2025 · Assigned by freebsd

Description

When dumping core and saving process information, proc_getargv() might return an sbuf which have a sbuf_len() of 0 or -1, which is not properly handled.

An out-of-bound read can happen when user constructs a specially crafted ps_string, which in turn can cause the kernel to crash.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 13.1-RELEASE – < p1, 13.0-RELEASE – < p12, 12.3-RELEASE – < p6 p1

References