Dan Carpenter 2d204ee9d6 cifs: integer overflow in in SMB2_ioctl()
The "le32_to_cpu(rsp->OutputOffset) + *plen" addition can overflow and
wrap around to a smaller value which looks like it would lead to an
information leak.

Fixes: 4a72dafa19ba ("SMB2 FSCTL and IOCTL worker function")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
CC: Stable <stable@vger.kernel.org>
2018-09-12 09:32:07 -05:00
..
2018-06-12 16:19:22 -07:00
2018-05-27 17:56:35 -05:00
2016-10-13 19:48:11 -05:00
2018-08-07 14:23:20 -05:00
2018-06-12 16:19:22 -07:00
2018-09-09 00:04:27 -05:00
2018-08-07 14:15:41 -05:00
2018-08-23 15:10:49 -05:00
2018-06-01 09:14:30 -05:00
2018-06-01 09:14:30 -05:00
2012-07-24 10:25:13 -05:00
2018-08-16 13:12:00 -06:00
2018-07-05 13:48:24 -05:00
2013-09-08 14:54:24 -05:00