mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
IB/core: Bound check alternate path port number
commit4cae8ff136upstream. The alternate port number is used as an array index in the IB security implementation, invalid values can result in a kernel panic. Fixes:d291f1a652("IB/core: Enforce PKey security on QPs") Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2b3ff282df
commit
4995bfa990
1 changed files with 6 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue