diff options
author | Vincent Mailhol <[email protected]> | 2021-01-20 20:41:36 +0900 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-01-20 13:33:12 +0100 |
commit | 75854cad5d80976f6ea0f0431f8cedd3bcc475cb (patch) | |
tree | 04e4b19da43954395aca5a3ae98db7bf8fee86c3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 03f16c5075b22c8902d2af739969e878b0879c94 (diff) |
can: vxcan: vxcan_xmit: fix use after free bug
After calling netif_rx_ni(skb), dereferencing skb is unsafe.
Especially, the canfd_frame cfd which aliases skb memory is accessed
after the netif_rx_ni().
Fixes: a8f820a380a2 ("can: add Virtual CAN Tunnel driver (vxcan)")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vincent Mailhol <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions