]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: exc3000 - properly stop timer on shutdown
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 4 Feb 2023 00:43:29 +0000 (16:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:19 +0000 (08:50 +0100)
commit526a177ac6353d65057eadb5d6edafc168f64484
tree407faf407190a424a080e3a8a52e87463edf8c96
parent86e9eb69c0e791024203a2af0ddd42bb6a258e7a
Input: exc3000 - properly stop timer on shutdown

[ Upstream commit 79c81d137d36f9635bbcbc3916c0cccb418a61dd ]

We need to stop the timer on driver unbind or probe failures, otherwise
we get UAF/Oops.

Fixes: 7e577a17f2ee ("Input: add I2C attached EETI EXC3000 multi touch driver")
Reported-by: "Stahl, Michael" <mstahl@moba.de>
Link: https://lore.kernel.org/r/Y9dK57BFqtlf8NmN@google.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/exc3000.c