CVE-2022-23086 mpr/mps/mpt driver ioctl heap out-of-bounds write
Local attackers with operator group access can trigger a heap out-of-bounds write in FreeBSD mpr/mps/mpt drivers to escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-23086?
CVE-2022-23086 is a critical memory corruption vulnerability in Freebsd Freebsd, published on 15 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Handlers for *_CFG_PAGE read / write ioctls in the mpr, mps, and mpt drivers allocated a buffer of a caller-specified size, but copied to it a fixed size header. Other heap content would be overwritten if the specified size was too small.
Users with access to the mpr, mps or mpt device node may overwrite heap data, potentially resulting in privilege escalation. Note that the device node is only accessible to root and members of the operator group.
Which versions are affected by CVE-2022-23086?
It affects 1 product.
Products include Freebsd Freebsd.
How do I fix CVE-2022-23086?
No fix has been published for CVE-2022-23086 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-23086 being exploited?
There is no known exploitation of CVE-2022-23086 in the wild and no public exploit code.
Other vulnerabilities in Freebsd Freebsd
Sources
Also known as GHSA-8xxh-r5gq-2wxg.