[PATCH v2 0/3] xpad packet size checks

Griffin Kroah-Hartman posted 3 patches 1 month, 3 weeks ago
drivers/input/joystick/xpad.c | 49 +++++++++++++++++++++++++++++++++----------
1 file changed, 38 insertions(+), 11 deletions(-)
[PATCH v2 0/3] xpad packet size checks
Posted by Griffin Kroah-Hartman 1 month, 3 weeks ago
Small patchset to add size checks to the process_packet() functions in
xpad, ensuring that OOB data is not accessed.

Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
---
Changes in v2:
- Now a patchset, covering all process_packet functions
- Link to v1: https://patch.msgid.link/20260727-xpadone_length_checks-v1-1-19aa9331e82d@kroah.com

To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

---
Griffin Kroah-Hartman (3):
      Input: xpad - add out-of-bounds checks for xpadone
      Input: xpad - add packet length check for xpad_process_packet()
      Input: xpad - add size checks to xpad360 packet processing

 drivers/input/joystick/xpad.c | 49 +++++++++++++++++++++++++++++++++----------
 1 file changed, 38 insertions(+), 11 deletions(-)
---
base-commit: f5098b6bae761e346ebcd9da7f95622c04733cff
change-id: 20260727-xpadone_length_checks-08120b97764f

Best regards,
--  
Griffin Kroah-Hartman <griffin@kroah.com>