In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: validate report size in mcp2221_raw_event() mcp2221_raw_event()… (CVE-2026-89621)
A vulnerability in the Linux kernel's HID driver for MCP2221 devices was resolved. The function mcp2221_raw_event() did not validate the size of incoming HID reports, allowing a malicious USB device to send a crafted report that causes out-of-bounds memory reads. This could lead to leakage of uninitialized kernel memory to userspace via the I2C/SMBus read path. The fix involved adding size validation checks before copying data from the report.
AI Analysis
Technical Summary
The Linux kernel's HID driver for MCP2221 devices contained a flaw where mcp2221_raw_event() trusted the device-supplied data length without verifying that the reported size matched the actual received report size. Specifically, in the MCP2221_I2C_GET_DATA path, the function used data[3] as the copy length without confirming that 4 + data[3] bytes were present. A malicious or malfunctioning USB device could exploit this by sending a short report with a large data[3] value, causing memcpy to read beyond the valid buffer and leak uninitialized kernel memory to userspace through the I2C/SMBus interface. The vulnerability was addressed by adding checks to ensure the source range fits within the received report before copying.
Potential Impact
This vulnerability allows a malicious USB device to cause the kernel to leak uninitialized memory contents to userspace. This memory disclosure could potentially expose sensitive kernel memory contents, which may aid further attacks or information gathering. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been applied to the Linux kernel to validate HID report sizes in mcp2221_raw_event(). Users should update to a kernel version that includes this patch. No additional mitigation is indicated or required beyond applying the official fix.
In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: validate report size in mcp2221_raw_event() mcp2221_raw_event()… (CVE-2026-89621)
Description
A vulnerability in the Linux kernel's HID driver for MCP2221 devices was resolved. The function mcp2221_raw_event() did not validate the size of incoming HID reports, allowing a malicious USB device to send a crafted report that causes out-of-bounds memory reads. This could lead to leakage of uninitialized kernel memory to userspace via the I2C/SMBus read path. The fix involved adding size validation checks before copying data from the report.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's HID driver for MCP2221 devices contained a flaw where mcp2221_raw_event() trusted the device-supplied data length without verifying that the reported size matched the actual received report size. Specifically, in the MCP2221_I2C_GET_DATA path, the function used data[3] as the copy length without confirming that 4 + data[3] bytes were present. A malicious or malfunctioning USB device could exploit this by sending a short report with a large data[3] value, causing memcpy to read beyond the valid buffer and leak uninitialized kernel memory to userspace through the I2C/SMBus interface. The vulnerability was addressed by adding checks to ensure the source range fits within the received report before copying.
Potential Impact
This vulnerability allows a malicious USB device to cause the kernel to leak uninitialized memory contents to userspace. This memory disclosure could potentially expose sensitive kernel memory contents, which may aid further attacks or information gathering. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been applied to the Linux kernel to validate HID report sizes in mcp2221_raw_event(). Users should update to a kernel version that includes this patch. No additional mitigation is indicated or required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-55hm-qvfp-55mj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89621"]
Threat ID: 6aa4a00955bf5e2cf5a86662
Added to database: 09/12/2026, 00:42:49 UTC
Last enriched: 09/12/2026, 01:01:43 UTC
Last updated: 09/12/2026, 01:01:43 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.