Dan Carpenter 3e35127565 scsi: bfa: integer overflow in debugfs
We could allocate less memory than intended because we do:

	bfad->regdata = kzalloc(len << 2, GFP_KERNEL);

The shift can overflow leading to a crash.  This is debugfs code so the
impact is very small.  I fixed the network version of this in March with
commit 13e2d5187f6b ("bna: integer overflow bug in debugfs").

Fixes: ab2a9ba189e8 ("[SCSI] bfa: add debugfs support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-10-16 22:35:13 -04:00
..
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2017-08-25 17:21:11 -04:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2017-08-24 22:29:06 -04:00
2016-05-10 22:01:07 -04:00
2015-11-09 16:32:14 -08:00
2017-09-05 08:18:42 -04:00
2017-08-29 21:51:44 -04:00
2017-08-25 17:21:10 -04:00
2017-08-08 11:49:51 -04:00
2016-01-27 20:36:10 +08:00
2017-09-13 10:47:14 -07:00
2016-01-27 20:36:10 +08:00
2017-08-25 17:08:08 -04:00
2017-04-26 15:09:04 -06:00
2017-08-25 17:21:11 -04:00
2016-11-28 15:51:31 -05:00
2017-04-13 13:58:20 -04:00
2017-09-07 12:12:43 -07:00
2017-05-16 08:44:15 -03:00
2017-09-07 12:12:43 -07:00
2017-09-07 12:12:43 -07:00
2016-02-23 21:27:02 -05:00
2014-11-12 11:15:57 +01:00
2017-08-08 11:49:51 -04:00
2015-11-18 11:59:09 -05:00
2017-04-26 18:32:29 -04:00