Messages in this thread | | | Date | Thu, 11 Aug 2016 09:56:20 -0700 (PDT) | Subject | Re: [PATCH net] macvtap: fix use after free for skb_array during release | From | David Miller <> |
| |
From: Jason Wang <jasowang@redhat.com> Date: Thu, 11 Aug 2016 18:15:56 +0800
> 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>
Applied, thanks for fixing this so quickly Jason.
| |