[PATCH v7 1/2] drivers/net: fix buffer overflow for ptypes list

Ferruh Yigit ferruh.yigit at amd.com
Fri Feb 2 00:29:34 CET 2024


On 2/1/2024 10:58 PM, Ferruh Yigit wrote:
> On 2/1/2024 3:50 PM, Sivaramakrishnan Venkat wrote:
>> Address Sanitizer detects a buffer overflow caused by an incorrect
>> ptypes list. Missing "RTE_PTYPE_UNKNOWN" ptype causes buffer overflow.
>> Fix the ptypes list for drivers.
>>
>> Fixes: 0849ac3b6122 ("net/tap: add packet type management")
>> Fixes: a7bdc3bd4244 ("net/dpaa: support packet type parsing")
>> Fixes: 4ccc8d770d3b ("net/mvneta: add PMD skeleton")
>> Fixes: f3f0d77db6b0 ("net/mrvl: support packet type parsing")
>> Fixes: 71e8bb65046e ("net/nfp: update supported list of packet types")
>> Fixes: 659b494d3d88 ("net/pfe: add packet types and basic statistics")
>> Fixes: 398a1be14168 ("net/thunderx: remove generic passX references")
>>
> 
> + Cc: stable at dpdk.org
> 
> I will add while merging.
> 
>> Signed-off-by: Sivaramakrishnan Venkat <venkatx.sivaramakrishnan at intel.com>
>> Reviewed-by: Ferruh Yigit <ferruh.yigit at amd.com>
> 

Series applied to dpdk-next-net/main, thanks.

Thanks for the additional improvement work.


More information about the stable mailing list