[dpdk-stable] [PATCH 4/4] net/netvsc: check for overflow on packet info from host

Stephen Hemminger stephen at networkplumber.org
Tue Aug 11 17:42:18 CEST 2020


On Mon, 10 Aug 2020 19:33:14 -0700
longli at linuxonhyperv.com wrote:

> From: Stephen Hemminger <stephen at networkplumber.org>
> 
> The data from the host is trusted but checked by the driver.
> One check that is missing is that the packet offset and length
> might cause wraparound.
> 
> Cc: stable at dpdk.org
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Signed-off-by: Long Li <longli at microsoft.com>

Reported-by: Nan Chen <whutchennan at gmail.com>


More information about the stable mailing list