[dpdk-dev] [PATCH] kni: fix possible buffer overflow
Ferruh Yigit
ferruh.yigit at intel.com
Fri Jul 19 20:34:33 CEST 2019
On 7/18/2019 10:35 PM, Thomas Monjalon wrote:
> 18/07/2019 23:24, Thomas Monjalon:
>> 11/07/2019 17:33, Stephen Hemminger:
>>> On Thu, 11 Jul 2019 13:35:07 +0100
>>> Ferruh Yigit <ferruh.yigit at intel.com> wrote:
>>>
>>>> 'kni_net_rx_lo_fifo()' can get segmented buffers, using 'pkt_len' for
>>>> that case will be wrong and some values can cause buffer overflow
>>>> in destination mbuf data.
>>>>
>>>> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
>>>
>>> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
>>
>> Applied, thanks
>
> I hope these lines are correct:
>
> Fixes: d89a58dfe90b ("kni: support chained mbufs")
> Cc: stable at dpdk.org
Thanks for updating it, even before this commit the related code was wrong I
think, but agree that this commit should have fixed it, so agreed with the fixes
line.
More information about the dev
mailing list