kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-89622 HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.7

    해결 버전

    • 5.7 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.111 이상
    • 6.18.51 이상
    • 7.2.4 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의