{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "67a95c21463d066060b0f66d65a75d45bb386ffb"
            },
            {
              "fixed": "03c34309eb1bce1b3b5f7c4a94b703f419120383"
            },
            {
              "fixed": "968546b676d992dd1da3e057d40598231f725996"
            },
            {
              "fixed": "db2333f88729c8aae062cb171ed058725ff5c901"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.7.0"
            },
            {
              "fixed": "6.18.51"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89622.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: clear rxbuf after I2C/SMBus transfer completes\n\nmcp_i2c_smbus_read() stores the caller-supplied buffer pointer in\nmcp-\u003erxbuf for the duration of a transfer but never clears it when the\ntransfer finishes or times out. Once the caller frees or reuses the\nbuffer, mcp-\u003erxbuf becomes a dangling pointer. A delayed or spurious\nMCP2221_I2C_GET_DATA report can then drive mcp2221_raw_event() to\nmemcpy device data into the freed memory, causing a write\nuse-after-free.\n\nRoute all return paths through a single exit point that clears\nmcp-\u003erxbuf and mcp-\u003erxbuf_size, so that the existing !mcp-\u003erxbuf guard\nin the raw_event handler can reject any report arriving after the\ntransfer has ended.",
  "id": "CVE-2026-89622",
  "modified": "2026-09-15T03:31:04.639650599Z",
  "published": "2026-09-11T19:45:20.090Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/03c34309eb1bce1b3b5f7c4a94b703f419120383"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/968546b676d992dd1da3e057d40598231f725996"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/db2333f88729c8aae062cb171ed058725ff5c901"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89622.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89622"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "HID: mcp2221: clear rxbuf after I2C/SMBus transfer completes"
}