summaryrefslogtreecommitdiffstats
path: root/lib/bust_spinlocks.c
diff options
context:
space:
mode:
authorVishal Kulkarni <vishal@chelsio.com>2019-10-04 04:06:15 +0530
committerDavid S. Miller <davem@davemloft.net>2019-10-04 14:42:13 -0700
commit6b517374f4ea5a3c6e307e1219ec5f35d42e6d00 (patch)
treedbab97c9cace62bcb9f3597e1ce6984f35d49d0b /lib/bust_spinlocks.c
parent8ae72cbf62d2c1879456c0c5872f958e18f53711 (diff)
downloadlinux-6b517374f4ea5a3c6e307e1219ec5f35d42e6d00.tar.bz2
cxgb4:Fix out-of-bounds MSI-X info array access
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 Abul Husain <shahjada@chelsio.com> Signed-off-by: Vishal Kulkarni <vishal@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions