]> git.baikalelectronics.ru Git - kernel.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)
commitafc648e2205cb2572ecd4dbf69e79d1427b53ecc
tree407faf407190a424a080e3a8a52e87463edf8c96
parent4915e27e166ac1fb4db120b07d61f9be2a7ab237
Input: exc3000 - properly stop timer on shutdown

[ Upstream commit 49547777c08880a915765c41814d806156d3c39a ]

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

Fixes: f17913ad763e ("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