[PATCH 0/2] HID: Intel-thc-hid: Fix potential buffer overflow

Even Xu posted 2 patches 2 days, 13 hours ago
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c | 6 ++++--
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
[PATCH 0/2] HID: Intel-thc-hid: Fix potential buffer overflow
Posted by Even Xu 2 days, 13 hours ago
This patch set allocate enough space for both the payload and the
packet header for quicki2c and quickspi input and output buffers to 
prevent a buffer overflow when the payload reaches its maximum size,
as their sizes are currently calculated from the payload length only.

Even Xu (2):
  HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflow
  HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflow

 drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c | 6 ++++--
 drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] HID: Intel-thc-hid: Fix potential buffer overflow
Posted by Jiri Kosina 23 hours ago
On Tue, 22 Sep 2026, Even Xu wrote:

> This patch set allocate enough space for both the payload and the
> packet header for quicki2c and quickspi input and output buffers to 
> prevent a buffer overflow when the payload reaches its maximum size,
> as their sizes are currently calculated from the payload length only.
> 
> Even Xu (2):
>   HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflow
>   HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflow

Applied to hid.git#for-7.3/upstream-fixes, thanks.

-- 
Jiri Kosina
SUSE Labs