linux/drivers/hid/intel-thc-hid
Even Xu a1cdd72371 HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflow
The input buffers are used to store complete HID-over-SPI packets,
including their protocol headers. However, their sizes are
currently calculated from the payload length only.

Allocate enough space for both the payload and the packet header to
prevent a buffer overflow when the payload reaches its maximum size.

Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
History 2026-09-23 18:48:30 +02:00
..
intel-quicki2c HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflow 2026-09-23 18:48:30 +02:00
intel-quickspi HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflow 2026-09-23 18:48:30 +02:00
intel-thc HID: Intel-thc-hid: Intel-thc: Add API to reset read DMA 2026-08-03 20:53:29 +02:00
Kconfig hid: intel-thc-hid: Select SGL_ALLOC 2026-01-07 15:09:07 +01:00
Makefile HID: Intel-thc-hid: Intel-thc: Add Wake-on-Touch support 2025-06-10 21:19:50 +02:00