title: mpr/mps/mpt driver ioctl heap out-of-bounds write
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.
affected:
{
defaultStatus: unknown
modules: [mpr, mps, mpt]
product: FreeBSD
vendor: FreeBSD
versions:
lessThan: p1, status: affected, version: 13.1-RC1, versionType: release
lessThan: p11, status: affected, version: 13.0-RELEASE, versionType: release
lessThan: p5, status: affected, version: 12.3-RELEASE, versionType: release
}