Files
linux-stable-mirror/drivers/input
Dmitry TorokhovandGreg Kroah-Hartman 331d49b4e1 Input: elan_i2c - validate firmware size before use
commit 76b0d0baa9 upstream.

Ensure that the firmware file is large enough to contain the expected
number of pages and the signature (which resides at the end of the
firmware blob) before accessing them to prevent potential out-of-bounds
reads.

Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/ae2dOgiFvXRm4BHo@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-06-19 13:37:01 +02:00
..