aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorDaniel Jurgens <[email protected]>2017-12-05 20:30:01 +0000
committerDoug Ledford <[email protected]>2017-12-07 20:28:06 +0000
commit4cae8ff136782d77b108cb3a5ba53e60597ba3a6 (patch)
tree366ee20b0a4866453682195a4b4d9c1e07f38bd7 /drivers/fpga/fpga-region.c
parentIB/core: Only enforce security for InfiniBand (diff)
downloadkernel-4cae8ff136782d77b108cb3a5ba53e60597ba3a6.tar.gz
kernel-4cae8ff136782d77b108cb3a5ba53e60597ba3a6.zip
IB/core: Bound check alternate path port number
The alternate port number is used as an array index in the IB security implementation, invalid values can result in a kernel panic. Cc: <[email protected]> # v4.12 Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs") Signed-off-by: Daniel Jurgens <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions