summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2021-07-09 17:58:29 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-09 11:01:01 -0700
commit0336f8ffece62f882ab3012820965a786a983f70 (patch)
tree88942d2c0c3b4f3873c9ed53ff04c10909fc6a93 /net
parentad297cd2db8953e2202970e9504cab247b6c7cb4 (diff)
downloadlinux-0336f8ffece62f882ab3012820965a786a983f70.tar.bz2
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 'net')
0 files changed, 0 insertions, 0 deletions