جزئیات آسیب‌پذیری

CVE-2026-89622

Linux Linux

HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes

CVSS 3.1
7.8بالا

شرح رسمی (انگلیسی)

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.

امتیازهای CVSS

امتیازنسخهمنبعبردار
7.8بالا 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

محصولات آسیب‌پذیر

فروشندهمحصولنسخه‌هامنبع
Linux Linux 5.7 CVEProject cvelistV5 (CNA)
Linux Linux 67a95c21463d066060b0f66d65a75d45bb386ffb ≤ v < bd146a8ff107c6d77e75597decbcd1df0d7900d6 CVEProject cvelistV5 (CNA)
Linux Linux 67a95c21463d066060b0f66d65a75d45bb386ffb ≤ v < d6c6b293173c0ea87189501cbd77e8fa677814a1 CVEProject cvelistV5 (CNA)
Linux Linux 67a95c21463d066060b0f66d65a75d45bb386ffb ≤ v < 198bf4a226229e36dfe254493a45c71c3ffc7e57 CVEProject cvelistV5 (CNA)
Linux Linux 67a95c21463d066060b0f66d65a75d45bb386ffb ≤ v < 968546b676d992dd1da3e057d40598231f725996 CVEProject cvelistV5 (CNA)
Linux Linux 67a95c21463d066060b0f66d65a75d45bb386ffb ≤ v < db2333f88729c8aae062cb171ed058725ff5c901 CVEProject cvelistV5 (CNA)
Linux Linux 67a95c21463d066060b0f66d65a75d45bb386ffb ≤ v < 03c34309eb1bce1b3b5f7c4a94b703f419120383 CVEProject cvelistV5 (CNA)

منابع و راهنماها

۶
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیب‌پذیری‌های تازه را در تلگرام بگیرید.

اطلاعات

تاریخ انتشار
۱۴۰۵/۰۶/۲۰
آخرین به‌روزرسانی
۱۴۰۵/۰۸/۰۸
وضعیت
منتشرشده
صادرکننده (CNA)
Linux

پیش‌بینی بهره‌برداری (EPSS)

۰٫۱۶٪
احتمال بهره‌برداری در ۳۰ روز
۵٫۶٪
صدک (نسبت به همه‌ی CVEها)

ضعف‌ها (CWE)

  • —