{
  "id": "CVE-2026-64367",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64367",
  "published_at": "2026-07-25T08:50:21.214Z",
  "title": "HID: hid-goodix-spi: validate report size to prevent stack buffer overflow",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hid-goodix-spi: validate report size to prevent stack buffer overflow\n\ngoodix_hid_set_raw_report() builds a protocol frame in a 128-byte stack\nbuffer (tmp_buf), writing an 11-12 byte header followed by the\ncaller-supplied report data.  The HID core caps report size at\nHID_MAX_BUFFER_SIZE (16384) by default, while the driver does not set\nhid_ll_driver.max_buffer_size and performs no bounds checking before\ncopying the payload:\n\n    memcpy(tmp_buf + tx_len, buf, len);\n\nA hidraw SET_REPORT ioctl with a report larger than ~116 bytes\noverflows the stack buffer.\n\nAdd a size check after constructing the header, rejecting reports that\nwould exceed the buffer capacity.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 75e16c8ce283bb88e77704dc8fa041c577caac0f, \u003c ad47ad624f2fce0bc44bbadb664242461a97d774",
          "\u003e= 75e16c8ce283bb88e77704dc8fa041c577caac0f, \u003c dae1d000ddfd5c2140b036e47fff0c497ae9c64b",
          "\u003e= 75e16c8ce283bb88e77704dc8fa041c577caac0f, \u003c 835fcc8655569737e3f057d42875a96259db74c2",
          "\u003e= 75e16c8ce283bb88e77704dc8fa041c577caac0f, \u003c db0a0768d09273aadadeb76730cd658d720333a4"
        ],
        "fixed_in": [
          "ad47ad624f2fce0bc44bbadb664242461a97d774",
          "dae1d000ddfd5c2140b036e47fff0c497ae9c64b",
          "835fcc8655569737e3f057d42875a96259db74c2",
          "db0a0768d09273aadadeb76730cd658d720333a4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.12"
        ],
        "fixed_in": [
          "0",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ad47ad624f2fce0bc44bbadb664242461a97d774 or dae1d000ddfd5c2140b036e47fff0c497ae9c64b or 835fcc8655569737e3f057d42875a96259db74c2 or db0a0768d09273aadadeb76730cd658d720333a4 or later.",
      "Upgrade Linux to 0 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
