medium4.7
CVE-2022-23089
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.
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | before 12.3 from 12.4 before 13.0 Versions 12.3, 13.0, 13.1 |