Skip to content

HID: Intel-thc-hid: Fix potential buffer overflow

Even Xu linux-input lkml 1 version Applied

Status from this message: Applied to hid.git#for-7.3/upstream-fixes, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2HID: Intel-thc-hid: Intel-quicki2c: Fix buffer overflowdrivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c+4 -20 replies
2/2HID: Intel-thc-hid: Intel-quickspi: Fix buffer overflowdrivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0