forked from luck/tmp_suning_uos_patched
a7f7c42e31
[ Upstream commit 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea ] This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
.gitignore | ||
adummy.c | ||
ambassador.c | ||
ambassador.h | ||
atmtcp.c | ||
eni.c | ||
eni.h | ||
firestream.c | ||
firestream.h | ||
fore200e.c | ||
fore200e.h | ||
he.c | ||
he.h | ||
horizon.c | ||
horizon.h | ||
idt77105.c | ||
idt77105.h | ||
idt77252_tables.h | ||
idt77252.c | ||
idt77252.h | ||
iphase.c | ||
iphase.h | ||
Kconfig | ||
lanai.c | ||
Makefile | ||
midway.h | ||
nicstar.c | ||
nicstar.h | ||
nicstarmac.c | ||
nicstarmac.copyright | ||
solos-attrlist.c | ||
solos-pci.c | ||
suni.c | ||
suni.h | ||
tonga.h | ||
uPD98401.h | ||
uPD98402.c | ||
uPD98402.h | ||
zatm.c | ||
zatm.h | ||
zeprom.h |