# CVE-2026-89621: HID: mcp2221: validate report size in mcp2221\_raw\_event()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:45:19.420Z
- **Modified:** 2026-10-19T09:17:58.880Z

## Who should check

- Anyone running Linux \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< cb38b1f149b7143355b37e86c841acf0076e5c2a; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< fffcfa367072628c3144cca17d2a3c3c9e50c057; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< c1c508e8923911cb458234997e55b7a4b9aa066f; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 127de5919820f88a9d55e8371ad4ac49f625f4c5; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 7c18fb36708a97ff6772825cc087b6d537bbf0d5; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 2c9a6998c19503626c57a2267bf279e204113079
- Anyone running Linux 5.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: mcp2221: validate report size in mcp2221\_raw\_event()

mcp2221\_raw\_event() never validates the size of incoming HID reports.
In the MCP2221\_I2C\_GET\_DATA path it trusts the device-supplied data\[3\]
as the copy length without checking that 4 + data\[3\] bytes actually
exist in the received report. A malicious or misbehaving USB device can
send a short report with a large data\[3\], causing the memcpy to read
past the valid report data in the HID transfer buffer and leak
uninitialized kernel memory back to userspace through the I2C/SMBus
read path.

Add a minimum size check at entry and validate that the source range
fits within the received report before the copy.

## Affected and fixed versions

- Linux: \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< cb38b1f149b7143355b37e86c841acf0076e5c2a; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< fffcfa367072628c3144cca17d2a3c3c9e50c057; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< c1c508e8923911cb458234997e55b7a4b9aa066f; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 127de5919820f88a9d55e8371ad4ac49f625f4c5; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 7c18fb36708a97ff6772825cc087b6d537bbf0d5; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 2c9a6998c19503626c57a2267bf279e204113079 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 2c9a6998c19503626c57a2267bf279e204113079 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89621. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89621.md
Affected: Linux >= 67a95c21463d066060b0f66d65a75d45bb386ffb, < cb38b1f149b7143355b37e86c841acf0076e5c2a; >= 67a95c21463d066060b0f66d65a75d45bb386ffb, < b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d; >= 67a95c21463d066060b0f66d65a75d45bb386ffb, < fffcfa367072628c3144cca17d2a3c3c9e50c057; >= 67a95c21463d066060b0f66…
Fixed in: Linux 127de5919820f88a9d55e8371ad4ac49f625f4c5, Linux 7c18fb36708a97ff6772825cc087b6d537bbf0d5, Linux 2c9a6998c19503626c57a2267bf279e204113079

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89621 being exploited?

There is no confirmed exploitation: CVE-2026-89621 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89621?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89621?

Linux \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< cb38b1f149b7143355b37e86c841acf0076e5c2a; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< fffcfa367072628c3144cca17d2a3c3c9e50c057; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< c1c508e8923911cb458234997e55b7a4b9aa066f; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 127de5919820f88a9d55e8371ad4ac49f625f4c5; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 7c18fb36708a97ff6772825cc087b6d537bbf0d5; \>= 67a95c21463d066060b0f66d65a75d45bb386ffb, \< 2c9a6998c19503626c57a2267bf279e204113079; Linux 5.7.

### Is there a fix for CVE-2026-89621?

Yes. Fixed in Linux 127de5919820f88a9d55e8371ad4ac49f625f4c5, Linux 7c18fb36708a97ff6772825cc087b6d537bbf0d5, Linux 2c9a6998c19503626c57a2267bf279e204113079. Upgrade Linux to 2c9a6998c19503626c57a2267bf279e204113079 or later.

### How do I check if I'm affected by CVE-2026-89621?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cb38b1f149b7143355b37e86c841acf0076e5c2a>
- other: <https://git.kernel.org/stable/c/b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d>
- other: <https://git.kernel.org/stable/c/fffcfa367072628c3144cca17d2a3c3c9e50c057>
- other: <https://git.kernel.org/stable/c/c1c508e8923911cb458234997e55b7a4b9aa066f>
- other: <https://git.kernel.org/stable/c/bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149>
- other: <https://git.kernel.org/stable/c/127de5919820f88a9d55e8371ad4ac49f625f4c5>
- other: <https://git.kernel.org/stable/c/7c18fb36708a97ff6772825cc087b6d537bbf0d5>
- other: <https://git.kernel.org/stable/c/2c9a6998c19503626c57a2267bf279e204113079>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89621>

HTML: <https://flawdb.com/CVE-2026-89621> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89621>
