{"id":"CVE-2026-89622","aliases":["CVE-2026-89622"],"related":[],"kind":"vulnerability","state":"published","title":"HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: clear rxbuf after I2C/SMBus transfer completes\n\nmcp_i2c_smbus_read() stores the caller-supplied buffer pointer in\nmcp->rxbuf for the duration of a transfer but never clears it when the\ntransfer finishes or times out. Once the caller frees or reuses the\nbuffer, mcp->rxbuf becomes a dangling pointer. A delayed or spurious\nMCP2221_I2C_GET_DATA report can then drive mcp2221_raw_event() to\nmemcpy device data into the freed memory, causing a write\nuse-after-free.\n\nRoute all return paths through a single exit point that clears\nmcp->rxbuf and mcp->rxbuf_size, so that the existing !mcp->rxbuf guard\nin the raw_event handler can reject any report arriving after the\ntransfer has ended.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: clear rxbuf after I2C/SMBus transfer completes\n\nmcp_i2c_smbus_read() stores the caller-supplied buffer pointer in\nmcp->rxbuf for the duration of a transfer but never clears it when the\ntransfer finishes or times out. Once the caller frees or reuses the\nbuffer, mcp->rxbuf becomes a dangling pointer. A delayed or spurious\nMCP2221_I2C_GET_DATA report can then drive mcp2221_raw_event() to\nmemcpy device data into the freed memory, causing a write\nuse-after-free.\n\nRoute all return paths through a single exit point that clears\nmcp->rxbuf and mcp->rxbuf_size, so that the existing !mcp->rxbuf guard\nin the raw_event handler can reject any report arriving after the\ntransfer has ended.","source":"cvelist"}],"published":"2026-09-11T19:45:20.090Z","modified":"2026-10-30T13:20:22.737Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"198bf4a226229e36dfe254493a45c71c3ffc7e57","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"bd146a8ff107c6d77e75597decbcd1df0d7900d6","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"d6c6b293173c0ea87189501cbd77e8fa677814a1","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"03c34309eb1bce1b3b5f7c4a94b703f419120383","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"968546b676d992dd1da3e057d40598231f725996","status":"affected"},{"type":"git","introduced":"67a95c21463d066060b0f66d65a75d45bb386ffb","fixed":"db2333f88729c8aae062cb171ed058725ff5c901","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":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","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/198bf4a226229e36dfe254493a45c71c3ffc7e57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd146a8ff107c6d77e75597decbcd1df0d7900d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6c6b293173c0ea87189501cbd77e8fa677814a1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03c34309eb1bce1b3b5f7c4a94b703f419120383","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/968546b676d992dd1da3e057d40598231f725996","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db2333f88729c8aae062cb171ed058725ff5c901","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89622","url":"https://www.cve.org/CVERecord?id=CVE-2026-89622","licence":"CVE Terms of Use","modified":"2026-10-30T12:32:19.551Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89622","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89622","licence":"Public domain","modified":"2026-10-30T13:20:22.737Z"}],"updatedAt":"2026-11-25T22:59:38.087Z","epss":{"score":0.00187,"percentile":0.08689,"date":"2026-12-02T12:00:21.000Z"}}