Re: [PATCH net V2] cxgb4:Fix out-of-bounds MSI-X info array access

2019-10-04 Thread David Miller
From: Vishal Kulkarni Date: Fri, 4 Oct 2019 04:06:15 +0530 > When fetching free MSI-X vectors for ULDs, check for the error code > before accessing MSI-X info array. Otherwise, an out-of-bounds access is > attempted, which results in kernel panic. > > Fixes: 94cdb8bb993a ("cxgb4: Add support fo

[PATCH net V2] cxgb4:Fix out-of-bounds MSI-X info array access

2019-10-03 Thread Vishal Kulkarni
When fetching free MSI-X vectors for ULDs, check for the error code before accessing MSI-X info array. Otherwise, an out-of-bounds access is attempted, which results in kernel panic. Fixes: 94cdb8bb993a ("cxgb4: Add support for dynamic allocation of resources for ULD") Signed-off-by: Shahjada Abu