Staging: lustre: integer overflow in ioctl
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 1 Apr 2015 08:12:15 +0000 (11:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 09:07:33 +0000 (11:07 +0200)
commitfaec8ab42b4a0f119a1cfbceef0c14b7b61059cb
tree094358040b82121f65946431db4a086f3f722632
parentb311ebac5babac7ce2b11e35a1462815580324b8
Staging: lustre: integer overflow in ioctl

hdr->ioc_len is a user controlled u32 so the addition can overflow,
especially on 32 bit systems.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-module.c