CVE-2022-50131
kernel: HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 18, 2025
Updated · October 30, 2026
Description
A buffer overflow vulnerability has been found in the linux kernel, such that when calling mcp_smbus_write(), a buffer of a smaller size is called when performing memcpy, resulting in damage to confidentiality, integrity, and availability of the system.
Statement
This vulnerability is rated as Moderate severity rather than Important because exploitation requires local access and the presence of specialized hardware, specifically a Microchip MCP2221 USB bridge device. In standard Red Hat Enterprise Linux environments, this driver is not loaded or used unless the specific physical peripheral is connected. An authenticated local user with access to write to the SMBus device could trigger the overflow, potentially leading to memory corruption or a denial-of-service condition via kernel crash.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')