Re: [dpdk-dev] [PATCH 0/2] prevent out of bounds read with checksum

2018-12-20 Thread Ferruh Yigit
On 12/17/2018 3:50 PM, Bruce Richardson wrote: > The functions for checksumming the packet payload don't perform bounds > checks, and are used by the TAP driver which does not do any bounds checks > on the incoming packet either. This means a packet received with an > incorrect IP header can read b

Re: [dpdk-dev] [PATCH 0/2] prevent out of bounds read with checksum

2018-12-18 Thread Richardson, Bruce
> -Original Message- > From: Hemant Agrawal [mailto:hemant.agra...@nxp.com] > Sent: Tuesday, December 18, 2018 12:50 PM > To: Richardson, Bruce ; Olivier Matz > ; Wiles, Keith > Cc: dev@dpdk.org; Shreyansh Jain > Subject: Re: [dpdk-dev] [PATCH 0/2] prevent ou

Re: [dpdk-dev] [PATCH 0/2] prevent out of bounds read with checksum

2018-12-18 Thread Hemant Agrawal
HI Bruce, On 17-Dec-18 9:20 PM, Bruce Richardson wrote: > The functions for checksumming the packet payload don't perform bounds > checks, and are used by the TAP driver which does not do any bounds checks > on the incoming packet either. This means a packet received with an > incorrect IP header

[dpdk-dev] [PATCH 0/2] prevent out of bounds read with checksum

2018-12-17 Thread Bruce Richardson
The functions for checksumming the packet payload don't perform bounds checks, and are used by the TAP driver which does not do any bounds checks on the incoming packet either. This means a packet received with an incorrect IP header can read beyond the end of the mbuf. In the worst case, where th