summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/qp.c
diff options
context:
space:
mode:
authorLeon Romanovsky2017-01-18 13:10:30 +0100
committerDoug Ledford2017-02-14 16:14:25 +0100
commit0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278 (patch)
tree030acb22c1621e984a081b4014a1c60e83fc0d34 /drivers/infiniband/hw/mlx5/qp.c
parentMerge tag 'mlx5-4kuar-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-qcow2-linux-0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278.tar.gz
kernel-qcow2-linux-0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278.tar.xz
kernel-qcow2-linux-0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278.zip
IB/mlx5: Fix out-of-bound access
When we initialize buffer to create SRQ in kernel, the number of pages was less than actually used in following mlx5_fill_page_array(). Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Cc: <stable@vger.kernel.org> # v3.10+ Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/qp.c')
0 files changed, 0 insertions, 0 deletions