{"api_version":"1","generated_at":"2026-09-12T04:34:23+00:00","cve":"CVE-2026-89620","urls":{"html":"https://cve.report/CVE-2026-89620","api":"https://cve.report/api/cve/CVE-2026-89620.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89620","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89620"},"summary":{"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":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:47","updated_at":"2026-09-11 20:19:47"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a59cf84441f9a17323c89452cec2bf16724c48a9","name":"https://git.kernel.org/stable/c/a59cf84441f9a17323c89452cec2bf16724c48a9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6fcefe71aeb524f6e77fe586fe85d873745e917c","name":"https://git.kernel.org/stable/c/6fcefe71aeb524f6e77fe586fe85d873745e917c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ee8ad1bb1e96164d51089b1182f1bd5f187e7baa","name":"https://git.kernel.org/stable/c/ee8ad1bb1e96164d51089b1182f1bd5f187e7baa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89620","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89620","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9d8d51735a3af40b722346931a6a1e50227df4b5 6fcefe71aeb524f6e77fe586fe85d873745e917c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9d8d51735a3af40b722346931a6a1e50227df4b5 ee8ad1bb1e96164d51089b1182f1bd5f187e7baa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9d8d51735a3af40b722346931a6a1e50227df4b5 a59cf84441f9a17323c89452cec2bf16724c48a9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c","drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h","drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6fcefe71aeb524f6e77fe586fe85d873745e917c","status":"affected","version":"9d8d51735a3af40b722346931a6a1e50227df4b5","versionType":"git"},{"lessThan":"ee8ad1bb1e96164d51089b1182f1bd5f187e7baa","status":"affected","version":"9d8d51735a3af40b722346931a6a1e50227df4b5","versionType":"git"},{"lessThan":"a59cf84441f9a17323c89452cec2bf16724c48a9","status":"affected","version":"9d8d51735a3af40b722346931a6a1e50227df4b5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c","drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h","drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.14"},{"lessThan":"6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:45:18.758Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6fcefe71aeb524f6e77fe586fe85d873745e917c"},{"url":"https://git.kernel.org/stable/c/ee8ad1bb1e96164d51089b1182f1bd5f187e7baa"},{"url":"https://git.kernel.org/stable/c/a59cf84441f9a17323c89452cec2bf16724c48a9"}],"title":"HID: intel-thc-hid: intel-quickspi: validate report size before copy","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89620","datePublished":"2026-09-11T19:45:18.758Z","dateReserved":"2026-09-11T19:38:34.736Z","dateUpdated":"2026-09-11T19:45:18.758Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:47","lastModifiedDate":"2026-09-11 20:19:47","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89620","Ordinal":"1","Title":"HID: intel-thc-hid: intel-quickspi: validate report size before ","CVE":"CVE-2026-89620","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89620","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"HID: intel-thc-hid: intel-quickspi: validate report size before "}]}}}