OpenCloudOS-Kernel/drivers/net/ethernet/qlogic/qede
Mintz, Yuval 087892d29b qede: Fix out-of-bound fastpath memory access
Driver allocates a shadow array for transmitted SKBs with X entries;
That means valid indices are {0,...,X - 1}. [X == 8191]
Problem is the driver also uses X as a mask for a
producer/consumer in order to choose the right entry in the
array which allows access to entry X which is out of bounds.

To fix this, simply allocate X + 1 entries in the shadow array.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-29 20:51:46 -04:00
..
Makefile qed*: Fix Kconfig dependencies with INFINIBAND_QEDR 2016-10-14 11:07:22 -04:00
qede.h qed*: Reduce the memory footprint for Rx path 2016-10-22 17:08:07 -04:00
qede_dcbnl.c qede: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qede_ethtool.c qede: Fix incorrrect usage of APIs for un-mapping DMA memory 2016-10-22 17:08:07 -04:00
qede_main.c qede: Fix out-of-bound fastpath memory access 2016-10-29 20:51:46 -04:00
qede_roce.c qede: Add qedr framework 2016-10-03 23:22:46 -04:00