[PATCH 00/10] Input: Fix OOB writes, UAFs, NULL derefs, and suspend work bugs (batch 2)
From: Lee Jones
Date: Fri Nov 27 2026 - 15:11:06 EST
These issues were reported by Sashiko.
This is batch 2 of Input bug fixes, based on input/next. It addresses
out-of-bounds accesses and underflows in adi, probe and unbind work
UAFs in xpad and aw86927, sysfs information disclosure in stmfts,
NULL dereferences in xen-kbdfront and goodix_berlin, SPI transfer size
underflow in goodix_berlin_spi, and suspend work stopping in drv2665
and drv2667.
Cc: "Pierre-Loup A. Griffais" <pgriffais@xxxxxxxxxxxxxxxxx>
Cc: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@xxxxxxxxxxxx>
Cc: Adam Buchbinder <adam.buchbinder@xxxxxxxxx>
Cc: Alexandre Torgue <alexandre.torgue@xxxxxxxxxxx>
Cc: Andi Shyti <andi@xxxxxxxxxxx>
Cc: Anthony Liguori <aliguori@xxxxxxxxxx>
Cc: Christoph Fritz <chf.fritz@xxxxxxxxxxxxxx>
Cc: Dan Murphy <dmurphy@xxxxxx>
Cc: David Heidelberg <david@xxxxxxx>
Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Cc: Dominic Cerquetti <binary1230@xxxxxxxxx>
Cc: Elliot Tester <elliotctester@xxxxxxxxx>
Cc: Franz Lehner <franz@xxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Griffin Kroah-Hartman <griffin.kroah@xxxxxxxxxxxxx>
Cc: Hans de Goede <hansg@xxxxxxxxxx>
Cc: Ivan Hawkes <blackhawk@xxxxxxxxxxxxxx>
Cc: Jan Kratochvil <honza@xxxxxxxx>
Cc: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
Cc: Jeff LaBundy <jeff@xxxxxxxxxxx>
Cc: Jens Reidel <adrian@xxxxxxxxxxxxxx>
Cc: Juergen Gross <jgross@xxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-input@xxxxxxxxxxxxxxx
Cc: linux-stm32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Marko Friedemann <mfr@xxxxxxxxxxxxxxx>
Cc: Markus Armbruster <armbru@xxxxxxxxxx>
Cc: Maxime Coquelin <mcoquelin.stm32@xxxxxxxxx>
Cc: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
Cc: Oliver Schwartz <Oliver.Schwartz@xxxxxx>
Cc: Pavel Rojtberg <rojtberg@xxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Steven Toth <steve@xxxxxxxxxxxxxxxx>
Cc: Vojtech Pavlik <vojtech@xxxxxx>
Lee Jones (10):
Input: adi - prevent off-by-one write in adi_read_packet()
Input: adi - validate axis and button counts in adi_id_decode()
Input: xpad - cancel presence work on xpad360w_start_input() failure
Input: aw86927 - use devm_work_autocancel() for haptics play work
Input: stmfts - fix i2c_smbus_read_i2c_block_data() check in status
sysfs
Input: xen-kbdfront - check info->ptr and info->kbd before
dereferencing
Input: drv2665 - disable haptics work across suspend and resume
Input: drv2667 - disable haptics work across suspend and resume
Input: goodix_berlin_i2c - check i2c_get_match_data() for NULL
Input: goodix_berlin_spi - validate ic_data and SPI max transfer size
drivers/input/joystick/adi.c | 45 ++++++++++++++++++-
drivers/input/joystick/xpad.c | 6 ++-
drivers/input/misc/aw86927.c | 6 ++-
drivers/input/misc/drv2665.c | 15 ++++---
drivers/input/misc/drv2667.c | 15 ++++---
drivers/input/misc/xen-kbdfront.c | 7 +--
drivers/input/touchscreen/goodix_berlin_i2c.c | 3 ++
drivers/input/touchscreen/goodix_berlin_spi.c | 6 +++
drivers/input/touchscreen/stmfts.c | 5 ++-
9 files changed, 88 insertions(+), 20 deletions(-)
--
2.56.1.839.g22a8290db9-goog