CVE-2026-89622
HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes
Reported by linux · Published September 11, 2026
In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes mcp_i2c_smbus_read() stores the caller-supplied buffer pointer in mcp->rxbuf for the duration of a transfer but never clears it when the transfer finishes or times out. Once the caller frees or reuses the buffer, mcp->rxbuf becomes a dangling pointer. A delayed or spurious MCP2221_I2C_GET_DATA report can then drive mcp2221_raw_event() to memcpy device data into the freed memory, causing a write use-after-free. Route all return paths through a single exit point that clears mcp->rxbuf and mcp->rxbuf_size, so that the existing !mcp->rxbuf guard in the raw_event handler can reject any report arriving after the transfer has ended.
EPSS 0.16% · 5.6th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 67a95c21463d066060b0f66d65a75d45bb386ffb, 67a95c21463d066060b0f66d65a75d45bb386ffb, 67a95c21463d066060b0f66d65a75d45bb386ffb |
| Linux | Linux | 5.7, 0, 6.1.191 |
| linux | linux_kernel | 5.7, 5.7, 5.7 |
| Linux | Linux | 67a95c21463d066060b0f66d65a75d45bb386ffb, 67a95c21463d066060b0f66d65a75d45bb386ffb, 67a95c21463d066060b0f66d65a75d45bb386ffb |
Timeline
- Sep 11, 2026 CVE Published
- Sep 12, 2026 EPSS Score (12 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89622
vulnetix vdb fixes CVE-2026-89622
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89622/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart