diff options
author | 2021-07-09 17:58:29 +0300 | |
---|---|---|
committer | 2021-07-09 11:01:01 -0700 | |
commit | 0336f8ffece62f882ab3012820965a786a983f70 (patch) | |
tree | 88942d2c0c3b4f3873c9ed53ff04c10909fc6a93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: qcom/emac: fix UAF in emac_remove (diff) | |
download | wireguard-linux-0336f8ffece62f882ab3012820965a786a983f70.tar.xz wireguard-linux-0336f8ffece62f882ab3012820965a786a983f70.zip |
net: ti: fix UAF in tlan_remove_one
priv is netdev private data and it cannot be
used after free_netdev() call. Using priv after free_netdev()
can cause UAF bug. Fix it by moving free_netdev() at the end of the
function.
Fixes: 1e0a8b13d355 ("tlan: cancel work at remove path")
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions