{"id":"CVE-2026-89620","published":"2026-09-11T19:45:18Z","modified":"2026-10-19T08:49:52Z","title":"HID: intel-thc-hid: intel-quickspi: validate report size before copy","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: intel-thc-hid: intel-quickspi: validate report size before copy\n\nwrite_cmd_to_txdma() builds an output report in qsdev->report_buf, a heap\nbuffer allocated in quickspi_alloc_report_buf() to the device-descriptor\nderived max_report_len (a few hundred bytes for a touch controller).  It\ncopies the caller-supplied report into that buffer:\n\n    memcpy(write_buf->content, report_buf, report_buf_len);\n\nThe HID core caps a report at HID_MAX_BUFFER_SIZE (16384) by default, and\nquickspi_hid_ll_driver does not set max_buffer_size, so the length reaches\nthe driver unbounded.  A hidraw SET_REPORT/SET_FEATURE ioctl carrying a\nreport larger than max_report_len therefore overflows report_buf with\nattacker-controlled length and content.\n\nRecord the report_buf allocation size and reject reports that do not fit\nbefore copying, matching the equivalent guard in the intel-quicki2c\nsibling (quicki2c_init_write_buf()) and the hid-goodix-spi fix.\n\nwrite_cmd_to_txdma() writes the output report header ahead of the content\nin the same buffer, so size the allocation to cover the header as well.\nThat keeps the added bound from rejecting a maximum-sized report.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00173,"percentile":0.06753,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6fcefe71aeb524f6e77fe586fe85d873745e917c","tags":[]},{"url":"https://git.kernel.org/stable/c/ee8ad1bb1e96164d51089b1182f1bd5f187e7baa","tags":[]},{"url":"https://git.kernel.org/stable/c/a59cf84441f9a17323c89452cec2bf16724c48a9","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.35},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9d8d51735a3af40b722346931a6a1e50227df4b5, < 6fcefe71aeb524f6e77fe586fe85d873745e917c",">= 9d8d51735a3af40b722346931a6a1e50227df4b5, < ee8ad1bb1e96164d51089b1182f1bd5f187e7baa",">= 9d8d51735a3af40b722346931a6a1e50227df4b5, < a59cf84441f9a17323c89452cec2bf16724c48a9"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-76532","exploited":false,"provenance":"source"}}