diff options
author | Jason Wang <jasowang@redhat.com> | 2016-08-11 18:15:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-11 09:55:51 -0700 |
commit | 104a493390940e85fb7c840a9fd5214aba5cb3bd (patch) | |
tree | d3852c2c9aafedd2debb4ea48f32c9c65fe034a6 /drivers/net/macsec.c | |
parent | 4b5b9ba553f9aa5f484ab972fc9b58061885ceca (diff) | |
download | linux-stable-104a493390940e85fb7c840a9fd5214aba5cb3bd.tar.gz linux-stable-104a493390940e85fb7c840a9fd5214aba5cb3bd.tar.bz2 linux-stable-104a493390940e85fb7c840a9fd5214aba5cb3bd.zip |
macvtap: fix use after free for skb_array during release
We've clean skb_array in macvtap_put_queue() but still try to pop from
it during macvtap_sock_destruct(). Fix this use after free by moving
the skb array cleanup to macvtap_sock_destruct() instead.
Fixes: 362899b8725b ("macvtap: switch to use skb array")
Reported-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions