Paper/Archive/CVE-2022-23086

CVE-2022-23086

FreeBSD FreeBSD — mpr/mps/mpt driver ioctl heap out-of-bounds write

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
FreeBSD13.1-RC1 – < p1p1CNA
FreeBSD13.0-RELEASE – < p11p11CNA
FreeBSD12.3-RELEASE – < p5p5CNA
freebsd13.1-rc1 – < 13.1_p113.1_p1CISA-ADP
freebsd13.0 – < 13.0_p1113.0_p11CISA-ADP
freebsd12.3 – < 12.0_p512.0_p5CISA-ADP

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorysecurity.freebsd.org/advisories/FreeBSD-SA-22:06.ioctl.ascrefsecurity.netapp.com/advisory/ntap-20240419-0002