linux/drivers/infiniband/hw
Shiraz Saleem 6c7d46fdb8 i40iw: Change mem_resources pointer to a u8
iwdev->mem_resources is incorrectly defined as an unsigned
long instead of u8. As a result, the offset into the dynamic
allocated structures in i40iw_initialize_hw_resources() is
incorrectly calculated and would lead to writing of memory
regions outside of the allocated buffer.

Fixes: 8e06af711b ("i40iw: add main, hdr, status")

Reported-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-23 12:40:19 -04:00
..
cxgb3 Merge branches 'cxgb4' and 'mlx5' into k.o/for-4.8 2016-08-03 20:58:45 -04:00
cxgb4 iw_cxgb4: use the MPA initiator's IRD if < our ORD 2016-08-22 15:00:42 -04:00
hfi1 IB/hfi1: Fix mm_struct use after free 2016-08-22 15:00:42 -04:00
i40iw i40iw: Change mem_resources pointer to a u8 2016-08-23 12:40:19 -04:00
mlx4 IB/mlx4: Return EAGAIN for any error in mlx4_ib_poll_one 2016-08-22 14:26:53 -04:00
mlx5 Round one of 4.8 code 2016-08-04 20:10:31 -04:00
mthca Merge branches 'misc' and 'rxe' into k.o/for-4.8-1 2016-08-04 11:13:47 -04:00
nes IB/nes: Support device FW version string 2016-06-23 12:08:34 -04:00
ocrdma IB/ocrdma: Support device FW version string 2016-06-23 12:08:34 -04:00
qib IB/qib: Use memdup_user() rather than duplicating its implementation 2016-08-23 12:38:24 -04:00
usnic IB/usnic: Fix error return code 2016-08-22 14:31:43 -04:00
Makefile IB/hfi1: Move driver out of staging 2016-05-26 11:35:14 -04:00