Files
linux/drivers/input
Dmitry Torokhov 2b4b482d5c Input: rmi4 - fix num_subpackets overflow in register descriptor
RMI_REG_DESC_SUBPACKET_BITS is defined as 296 (37 * BITS_PER_BYTE). This
may overflow num_subpackets in struct rmi_register_desc_item which is
defined as a u8.

Fix this by changing the type of num_subpackets to u16.

Fixes: 2b6a321da9 ("Input: synaptics-rmi4 - add support for Synaptics RMI4 devices")
Cc: stable@vger.kernel.org
Assisted-by: Gemini:gemini-3.1-pro
Link: https://patch.msgid.link/20260505045952.1570713-4-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2026-06-11 22:39:27 -07:00
..
2026-05-31 19:43:25 -07:00
2026-06-10 11:04:17 -07:00
2026-05-31 19:43:25 -07:00
2026-06-10 11:04:17 -07:00
2026-03-12 10:44:42 -07:00
2024-12-17 13:53:52 -08:00