diff options
author | 2019-07-06 11:37:20 +0800 | |
---|---|---|
committer | 2019-07-24 11:16:31 +0200 | |
commit | e9f2a856e102fa27715b94bcc2240f686536d29b (patch) | |
tree | 1ac693a180db2f4e5552143ea72a76ce3ab01d11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | can: mcp251x: add error check when wq alloc failed (diff) | |
download | linux-dev-e9f2a856e102fa27715b94bcc2240f686536d29b.tar.xz linux-dev-e9f2a856e102fa27715b94bcc2240f686536d29b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions