diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2017-01-18 14:10:30 +0200 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-02-14 10:14:25 -0500 |
| commit | 0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278 (patch) | |
| tree | 030acb22c1621e984a081b4014a1c60e83fc0d34 /lib/mpi/mpiutil.c | |
| parent | bda65b4255ac983ce36a6c0ea6a7794f8e8fcc86 (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
