diff options
author | Wen Yang <wen.yang99@zte.com.cn> | 2019-07-06 11:37:20 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-07-24 11:16:31 +0200 |
commit | e9f2a856e102fa27715b94bcc2240f686536d29b (patch) | |
tree | 1ac693a180db2f4e5552143ea72a76ce3ab01d11 /drivers/net/appletalk | |
parent | 375f755899b8fc21196197e02aab26257df26e85 (diff) |
can: flexcan: fix an use-after-free in flexcan_setup_stop_mode()
The gpr_np variable is still being used in dev_dbg() after the
of_node_put() call, which may result in use-after-free.
Fixes: de3578c198c6 ("can: flexcan: add self wakeup support")
Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Cc: linux-stable <stable@vger.kernel.org> # >= v5.0
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions