[PATCH v2 0/3] xpad packet size checks
Griffin Kroah-Hartman <[email protected]> Wed, 05 Aug 2026 11:56:34 +0200
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- Changes in v2: - Now a patchset, covering all process_packet functions - Link to v1: https://patch.msgid.link/[email protected] To: Dmitry Torokhov <[email protected]> Cc: [email protected] Cc: [email protected] --- 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 <[email protected]>