]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sunkbd - avoid use-after-free in teardown paths
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Oct 2020 20:36:17 +0000 (13:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Nov 2020 05:59:07 +0000 (21:59 -0800)
commitad261012242f8f94ee52ed431a9304d401fbeda7
treeb671748da24286f9eb0a3f923627c580de30ba2b
parent90401c73aee93c6df8b8866f6b599f8e6f31d18b
Input: sunkbd - avoid use-after-free in teardown paths

We need to make sure we cancel the reinit work before we tear down the
driver structures.

Reported-by: Bodong Zhao <nopitydays@gmail.com>
Tested-by: Bodong Zhao <nopitydays@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/sunkbd.c