VDB

CVE-2026-64367

CVE-2026-64367 PUBLISHED CVSS 7.8 HIGH

HID: hid-goodix-spi: validate report size to prevent stack buffer overflow

Reported by linux · Published July 25, 2026

In the Linux kernel, the following vulnerability has been resolved: HID: hid-goodix-spi: validate report size to prevent stack buffer overflow goodix_hid_set_raw_report() builds a protocol frame in a 128-byte stack buffer (tmp_buf), writing an 11-12 byte header followed by the caller-supplied report data. The HID core caps report size at HID_MAX_BUFFER_SIZE (16384) by default, while the driver does not set hid_ll_driver.max_buffer_size and performs no bounds checking before copying the payload: memcpy(tmp_buf + tx_len, buf, len); A hidraw SET_REPORT ioctl with a report larger than ~116 bytes overflows the stack buffer. Add a size check after constructing the header, rejecting reports that would exceed the buffer capacity. Discovered by Atuin - Automated Vulnerability Discovery Engine.

EPSS 0.19% · 8.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.1.4, 6.18.39, 6.12.96
LinuxLinuxdb0a0768d09273aadadeb76730cd658d720333a4, dae1d000ddfd5c2140b036e47fff0c497ae9c64b, ad47ad624f2fce0bc44bbadb664242461a97d774, 835fcc8655569737e3f057d42875a96259db74c2

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.19%
8.6th percentile

Affected products

VendorProductVersions
LinuxLinux75e16c8ce283bb88e77704dc8fa041c577caac0f, 75e16c8ce283bb88e77704dc8fa041c577caac0f, 75e16c8ce283bb88e77704dc8fa041c577caac0f
LinuxLinux6.12, 0, 6.12.96
LinuxLinux7.2, 0, 6.12.96
linuxlinux_kernel6.12, 6.12, 6.12

Timeline

  • Jul 25, 2026 EPSS Score (12 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64367
vulnetix vdb fixes CVE-2026-64367

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64367/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›