diff options
| author | Vishal Kulkarni <[email protected]> | 2019-10-03 22:36:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-04 21:42:13 +0000 |
| commit | 6b517374f4ea5a3c6e307e1219ec5f35d42e6d00 (patch) | |
| tree | dbab97c9cace62bcb9f3597e1ce6984f35d49d0b /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | Revert "ipv6: Handle race in addrconf_dad_work" (diff) | |
| download | kernel-6b517374f4ea5a3c6e307e1219ec5f35d42e6d00.tar.gz kernel-6b517374f4ea5a3c6e307e1219ec5f35d42e6d00.zip | |
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 <[email protected]>
Signed-off-by: Vishal Kulkarni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
