{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89621",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89621"
  ],
  "published": "2026-09-11T19:47:07Z",
  "summary": "HID: mcp2221: validate report size in mcp2221_raw_event()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: mcp2221: validate report size in mcp2221_raw_event()\n\nmcp2221_raw_event() never validates the size of incoming HID reports.\nIn the MCP2221_I2C_GET_DATA path it trusts the device-supplied data[3]\nas the copy length without checking that 4 + data[3] bytes actually\nexist in the received report. A malicious or misbehaving USB device can\nsend a short report with a large data[3], causing the memcpy to read\npast the valid report data in the HID transfer buffer and leak\nuninitialized kernel memory back to userspace through the I2C/SMBus\nread path.\n\nAdd a minimum size check at entry and validate that the source range\nfits within the received report before the copy.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-89621"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cb38b1f149b7143355b37e86c841acf0076e5c2a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b2c67dc0e30c308647bbd9b9e5d69a44c9d2733d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fffcfa367072628c3144cca17d2a3c3c9e50c057"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c1c508e8923911cb458234997e55b7a4b9aa066f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bdc6a3af0dd734a326acdb7d6401a3b6a9f4f149"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/127de5919820f88a9d55e8371ad4ac49f625f4c5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7c18fb36708a97ff6772825cc087b6d537bbf0d5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2c9a6998c19503626c57a2267bf279e204113079"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z"
  }
}
