diff options
author | 2021-06-18 19:14:31 +0300 | |
---|---|---|
committer | 2021-06-19 11:46:00 -0700 | |
commit | e4b8700e07a86e8eab6916aa5c5ba99042c34089 (patch) | |
tree | a50b6eca26ec724fea75553cc5a156871ed1e7f0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: aeroflex: fix UAF in greth_of_remove (diff) | |
download | wireguard-linux-e4b8700e07a86e8eab6916aa5c5ba99042c34089.tar.xz wireguard-linux-e4b8700e07a86e8eab6916aa5c5ba99042c34089.zip |
net: ethernet: ezchip: fix UAF in nps_enet_remove
priv is netdev private data, but it is used
after free_netdev(). It can cause use-after-free when accessing priv
pointer. So, fix it by moving free_netdev() after netif_napi_del()
call.
Fixes: 0dd077093636 ("NET: Add ezchip ethernet driver")
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