{"id":"CVE-2026-89620","revision":"256ddc3b2a374977848d705377600da2","records":[{"revision":"256ddc3b2a374977848d705377600da2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-89620","aliases":[],"title":"HID: intel-thc-hid: intel-quickspi: validate report size before copy","description":"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.","state":0,"publishedAt":"2026-09-11T19:45:18.758+00:00","modifiedAt":"2026-10-19T08:49:52.704+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c\",\n                        \"drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h\",\n                        \"drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"9d8d51735a3af40b722346931a6a1e50227df4b5\",\n                            \"lessThan\": \"6fcefe71aeb524f6e77fe586fe85d873745e917c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"9d8d51735a3af40b722346931a6a1e50227df4b5\",\n                            \"lessThan\": \"ee8ad1bb1e96164d51089b1182f1bd5f187e7baa\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"9d8d51735a3af40b722346931a6a1e50227df4b5\",\n                            \"lessThan\": \"a59cf84441f9a17323c89452cec2bf16724c48a9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c\",\n                        \"drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h\",\n                        \"drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.50\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.4\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/6fcefe71aeb524f6e77fe586fe85d873745e917c","https://git.kernel.org/stable/c/ee8ad1bb1e96164d51089b1182f1bd5f187e7baa","https://git.kernel.org/stable/c/a59cf84441f9a17323c89452cec2bf16724c48a9"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89620","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-89620","identifiers":["CVE-2026-89620"]},"retained":false,"historicalAffected":[]}],"coverage":[]}