]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
IB/rxe: Fix mem_check_range integer overflow
authorEyal Itkin <eyal.itkin@gmail.com>
Tue, 7 Feb 2017 13:45:19 +0000 (16:45 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 8 Feb 2017 17:28:30 +0000 (12:28 -0500)
commit647bf3d8a8e5777319da92af672289b2a6c4dc66
tree8d9a8e7885ba0e86ef6d52b1feffb3b698fc42ba
parent628f07d33c1f2e7bf31e0a4a988bb07914bd5e73
IB/rxe: Fix mem_check_range integer overflow

Update the range check to avoid integer-overflow in edge case.
Resolves CVE 2016-8636.

Signed-off-by: Eyal Itkin <eyal.itkin@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_mr.c