linux-brain/net/qrtr
Bjorn Andersson 088f93d00b net: qrtr: Stop rx_worker before freeing node
[ Upstream commit 73f0c11d11 ]

As the endpoint is unregistered there might still be work pending to
handle incoming messages, which will result in a use after free
scenario. The plan is to remove the rx_worker, but until then (and for
stable@) ensure that the work is stopped before the node is freed.

Fixes: bdabad3e36 ("net: Add Qualcomm IPC router")
Cc: stable@vger.kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-05 12:47:40 +02:00
..
Kconfig soc: qcom: smd: Transition client drivers from smd to rpmsg 2017-03-28 17:58:07 -07:00
Makefile net: qrtr: fix build problems 2016-05-16 13:44:58 -04:00
qrtr.c net: qrtr: Stop rx_worker before freeing node 2019-10-05 12:47:40 +02:00
qrtr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smd.c qrtr: add MODULE_ALIAS macro to smd 2018-05-30 07:52:05 +02:00