Linux kernel: HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes
Overview
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.
- Published
- 9/11/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 67a95c21463d066060b0f66d65a75d45bb386ffb, < 198bf4a226229e36dfe254493a45c71c3ffc7e57 | Verify advisory | Source |
Linux Linux | ≥ 67a95c21463d066060b0f66d65a75d45bb386ffb, < bd146a8ff107c6d77e75597decbcd1df0d7900d6 | Verify advisory | Source |
Linux Linux | ≥ 67a95c21463d066060b0f66d65a75d45bb386ffb, < d6c6b293173c0ea87189501cbd77e8fa677814a1 | Verify advisory | Source |
Linux Linux | ≥ 67a95c21463d066060b0f66d65a75d45bb386ffb, < 03c34309eb1bce1b3b5f7c4a94b703f419120383 | Verify advisory | Source |
Linux Linux | ≥ 67a95c21463d066060b0f66d65a75d45bb386ffb, < 968546b676d992dd1da3e057d40598231f725996 | Verify advisory | Source |
Linux Linux | ≥ 67a95c21463d066060b0f66d65a75d45bb386ffb, < db2333f88729c8aae062cb171ed058725ff5c901 | Verify advisory | Source |
Linux Linux | 5.7 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.