Commit 7029a1a3 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Yang Yingliang
Browse files

Input: sunkbd - avoid use-after-free in teardown paths



mainline inclusion
from mainline-v5.10-rc5
commit 77e70d35
category: bugfix
bugzilla: NA
CVE: CVE-2020-25669

--------------------------------

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

Reported-by: default avatarBodong Zhao <nopitydays@gmail.com>
Tested-by: default avatarBodong Zhao <nopitydays@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 0471c6fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment