On Tue, Oct 27, 2015 at 01:50:53AM +0000, Sheng Yong wrote:
> From: Jason Wang <[email protected]>
> 
> commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream.
> 
> virtio declares support for NETIF_F_FRAGLIST, but assumes
> that there are at most MAX_SKB_FRAGS + 2 fragments which isn't
> always true with a fraglist.
> 
> A longer fraglist in the skb will make the call to skb_to_sgvec overflow
> the sg array, leading to memory corruption.
> 
> Drop NETIF_F_FRAGLIST so we only get what we can handle.
> 
> Cc: Michael S. Tsirkin <[email protected]>
> Signed-off-by: Jason Wang <[email protected]>
> Acked-by: Michael S. Tsirkin <[email protected]>
> Signed-off-by: David S. Miller <[email protected]>
> ---
>  drivers/net/virtio_net.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

This patch isn't in any stable tree, why just add it to 3.10?  What
about all of the other ones?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to