HID: intel-thc-hid: intel-quickspi: bound GET_REPORT response to the caller buffer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 035ec4a71cb8020a927c123bbe75c2f88d614986, Kernel 54e0bafc0653bdf2a6c5f5f8ad8787a820d98663, Kernel 72706b44b665679d7d60a488d8776a911f1a93f3 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: HID: intel-thc-hid: intel-quickspi: bound GET_REPORT response to the caller buffer quickspi_hid_raw_request() receives the caller's buffer length in len, but quickspi_get_report() never sees it and copies the whole device-supplied response into buf regardless: memcpy(buf, qsdev->report_buf, qsdev->report_len); qsdev->report_len comes from the input report the touch controller returns, while buf is sized to whatever the caller asked hidraw for through HIDIOCGFEATURE or HIDIOCGINPUT. A response larger than that overflows buf with device-controlled content. The intel-quicki2c sibling already passes the caller length down to quicki2c_get_report() and validates the response against it before the copy. Do the same here.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=4138f21115aec3ebae7805ec3407c72d93558023 <035ec4a71cb8020a927c123bbe75c2f88d614986, >=4138f21115aec3ebae7805ec3407c72d93558023 <54e0bafc0653bdf2a6c5f5f8ad8787a820d98663, >=4138f21115aec3ebae7805ec3407c72d93558023 <72706b44b665679d7d60a488d8776a911f1a93f3 | 035ec4a71cb8020a927c123bbe75c2f88d614986, 54e0bafc0653bdf2a6c5f5f8ad8787a820d98663, 72706b44b665679d7d60a488d8776a911f1a93f3 |
| linux-kernel: Kernel | >=6.14.0 <6.18.50, >=6.19.0 <7.2.4 | 6.18.50, 7.2.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket