{"id":"CVE-2026-89621","aliases":["CVE-2026-89621"],"related":[],"kind":"vulnerability","state":"published","title":"HID: mcp2221: validate report size in mcp2221_raw_event()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: validate report size in mcp2221_raw_event()\n\nmcp2221_raw_event() never validates the size of incoming HID reports.\nIn the MCP2221_I2C_GET_DATA path it trusts the device-supplied data[3]\nas the copy length without checking that 4 + data[3] bytes actually\nexist in the received report. A malicious or misbehaving USB device can\nsend a short report with a large data[3], causing the memcpy to read\npast the valid report data in the HID transfer buffer and leak\nuninitialized kernel memory back to userspace through the I2C/SMBus\nread path.\n\nAdd a minimum size check at entry and validate that the source range\nfits within the received report before the copy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: validate report size in mcp2221_raw_event()\n\nmcp2221_raw_event() never validates the size of incoming HID reports.\nIn the MCP2221_I2C_GET_DATA path it trusts the device-supplied data[3]\nas the copy length without checking that 4 + data[3] bytes actually\nexist in the received report. A malicious or misbehaving USB device can\nsend a short report with a large data[3], causing the memcpy to read\npast the valid report data in the HID transfer buffer and leak\nuninitialized kernel memory back to userspace through the I2C/SMBus\nread path.\n\nAdd a minimum size check at entry and validate that the source range\nfits within the received report before the copy.","source":"cvelist"}],"published":"2026-09-11T19:45:19.420Z","modified":"2026-10-19T09:17:58.880Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"cb38b1f149b7143355b37e86c841acf0076e5c2a","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"fffcfa367072628c3144cca17d2a3c3c9e50c057","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"c1c508e8923911cb458234997e55b7a4b9aa066f","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"127de5919820f88a9d55e8371ad4ac49f625f4c5","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"7c18fb36708a97ff6772825cc087b6d537bbf0d5","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"2c9a6998c19503626c57a2267bf279e204113079","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/cb38b1f149b7143355b37e86c841acf0076e5c2a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fffcfa367072628c3144cca17d2a3c3c9e50c057","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1c508e8923911cb458234997e55b7a4b9aa066f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/127de5919820f88a9d55e8371ad4ac49f625f4c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c18fb36708a97ff6772825cc087b6d537bbf0d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c9a6998c19503626c57a2267bf279e204113079","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89621","url":"https://www.cve.org/CVERecord?id=CVE-2026-89621","licence":"CVE Terms of Use","modified":"2026-10-19T08:49:53.686Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89621","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89621","licence":"Public domain","modified":"2026-10-19T09:17:58.880Z"}],"updatedAt":"2026-11-25T22:59:38.086Z","epss":{"score":0.0022,"percentile":0.13336,"date":"2026-12-01T12:00:22.000Z"}}