aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/misc/c2port
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-05-08 15:55:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-08 17:15:10 -0700
commit146180c052a00172f4dc08eaade836fd02f61fb5 (patch)
treebe2f06a42ba18154515a2efb78db06e14db5201a /drivers/misc/c2port
parentkernel/hung_task.c: defer showing held locks (diff)
downloadwireguard-linux-146180c052a00172f4dc08eaade836fd02f61fb5.tar.xz
wireguard-linux-146180c052a00172f4dc08eaade836fd02f61fb5.zip
drivers/misc/vmw_vmci/vmci_queue_pair.c: fix a couple integer overflow tests
The "DIV_ROUND_UP(size, PAGE_SIZE)" operation can overflow if "size" is more than ULLONG_MAX - PAGE_SIZE. Link: http://lkml.kernel.org/r/20170322111950.GA11279@mwanda Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Jorgen Hansen <jhansen@vmware.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/c2port')
0 files changed, 0 insertions, 0 deletions