CVE-2026-89622

Source
https://cve.org/CVERecord?id=CVE-2026-89622
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89622.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89622
Downstream
Published
2026-09-11T19:45:20Z
Modified
2026-09-13T03:47:19Z
Summary
HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89622.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
67a95c21463d066060b0f66d65a75d45bb386ffb
Fixed
03c34309eb1bce1b3b5f7c4a94b703f419120383
Fixed
968546b676d992dd1da3e057d40598231f725996
Fixed
db2333f88729c8aae062cb171ed058725ff5c901

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89622.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
6.18.51
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89622.json"