{"id":"CVE-2026-89622","published":"2026-09-11T19:45:20Z","modified":"2026-10-30T12:32:19Z","title":"HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.05587,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/198bf4a226229e36dfe254493a45c71c3ffc7e57","tags":[]},{"url":"https://git.kernel.org/stable/c/bd146a8ff107c6d77e75597decbcd1df0d7900d6","tags":[]},{"url":"https://git.kernel.org/stable/c/d6c6b293173c0ea87189501cbd77e8fa677814a1","tags":[]},{"url":"https://git.kernel.org/stable/c/03c34309eb1bce1b3b5f7c4a94b703f419120383","tags":[]},{"url":"https://git.kernel.org/stable/c/968546b676d992dd1da3e057d40598231f725996","tags":[]},{"url":"https://git.kernel.org/stable/c/db2333f88729c8aae062cb171ed058725ff5c901","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.12},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 67a95c21463d066060b0f66d65a75d45bb386ffb, < 198bf4a226229e36dfe254493a45c71c3ffc7e57",">= 67a95c21463d066060b0f66d65a75d45bb386ffb, < bd146a8ff107c6d77e75597decbcd1df0d7900d6",">= 67a95c21463d066060b0f66d65a75d45bb386ffb, < d6c6b293173c0ea87189501cbd77e8fa677814a1",">= 67a95c21463d066060b0f66d65a75d45bb386ffb, < 03c34309eb1bce1b3b5f7c4a94b703f419120383",">= 67a95c21463d066060b0f66d65a75d45bb386ffb, < 968546b676d992dd1da3e057d40598231f725996",">= 67a95c21463d066060b0f66d65a75d45bb386ffb, < db2333f88729c8aae062cb171ed058725ff5c901"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"euvd":{"id":"EUVD-2026-76534","exploited":false,"provenance":"source"}}