diff options
author | Boris Pismenny <borisp@mellanox.com> | 2018-03-08 15:51:41 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-03-13 16:31:21 -0400 |
commit | c2b37f76485f073f020e60b5954b6dc4e55f693c (patch) | |
tree | 0be1ee04fa795c1a342b5b67abea504524bf99c3 /include/linux/stop_machine.h | |
parent | 2c292dbb398ee46fc1343daf6c3cf9715a75688e (diff) | |
download | linux-c2b37f76485f073f020e60b5954b6dc4e55f693c.tar.gz linux-c2b37f76485f073f020e60b5954b6dc4e55f693c.tar.bz2 linux-c2b37f76485f073f020e60b5954b6dc4e55f693c.zip |
IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
This patch validates user provided input to prevent integer overflow due
to integer manipulation in the mlx5_ib_create_srq function.
Cc: syzkaller <syzkaller@googlegroups.com>
Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/stop_machine.h')
0 files changed, 0 insertions, 0 deletions