numam-dpdk/lib/librte_gro
Jiayu Hu 7ccc7a05d6 gro: check invalid TCP header length
When the TCP header length of input packets is invalid (i.e., less
than 20 bytes or greater than 60 bytes), check_seq_option() will
access illegal memory area when compare TCP Options, which may
cause a segmentation fault.

This patch adds missing invalid TCP header length check to avoid
illegal memory accesses.

Fixes: 0d2cbe59b7 ("lib/gro: support TCP/IPv4")
Fixes: 9e0b9d2ec0 ("gro: support VxLAN GRO")
Cc: stable@dpdk.org

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-01-17 22:38:54 +01:00
..
gro_tcp4.c gro: check invalid TCP header length 2019-01-17 22:38:54 +01:00
gro_tcp4.h gro: check invalid TCP header length 2019-01-17 22:38:54 +01:00
gro_vxlan_tcp4.c gro: check invalid TCP header length 2019-01-17 22:38:54 +01:00
gro_vxlan_tcp4.h gro: support VxLAN GRO 2018-01-11 23:18:36 +01:00
Makefile gro: support VxLAN GRO 2018-01-11 23:18:36 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_gro_version.map gro: fix typo in map file 2017-08-31 23:02:54 +02:00
rte_gro.c gro: support VxLAN GRO 2018-01-11 23:18:36 +01:00
rte_gro.h gro: support VxLAN GRO 2018-01-11 23:18:36 +01:00