Prasad J Pandit
b60bdd1f1e
scsi: megasas: check 'read_queue_head' index value
...
While doing MegaRAID SAS controller command frame lookup, routine
'megasas_lookup_frame' uses 'read_queue_head' value as an index
into 'frames[MEGASAS_MAX_FRAMES=2048]' array. Limit its value
within array bounds to avoid any OOB access.
Reported-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <1464179110-18593-1-git-send-email-ppandit@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-05-29 09:11:11 +02:00
..
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:28 +02:00
2016-05-19 16:42:27 +02:00
2016-05-20 14:28:54 -03:00
2016-05-19 16:42:29 +02:00
2016-05-25 19:04:11 +02:00
2016-05-19 16:42:28 +02:00
2016-05-29 09:11:10 +02:00
2016-05-26 14:06:41 +01:00
2016-05-19 16:42:27 +02:00
2016-05-29 09:11:10 +02:00
2016-05-23 14:28:25 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:30 +02:00
2016-05-19 16:42:29 +02:00
2016-05-23 13:19:36 -03:00
2016-05-25 19:04:11 +02:00
2016-05-19 16:42:29 +02:00
2016-05-23 16:53:43 +02:00
2016-05-18 15:04:27 +03:00
2016-03-22 22:20:15 +01:00
2016-05-19 16:42:27 +02:00
2016-05-29 09:11:10 +02:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:15 +01:00
2016-03-22 22:20:17 +01:00
2016-05-19 16:42:27 +02:00
2016-05-19 16:42:29 +02:00
2016-03-22 22:20:17 +01:00
2016-05-27 09:40:23 +10:00
2016-05-20 14:28:54 -03:00
2016-03-22 22:20:17 +01:00
2016-05-18 15:04:27 +03:00
2016-04-07 19:57:33 +03:00
2016-05-19 16:42:29 +02:00
2016-01-29 15:07:25 +00:00
2016-05-27 09:40:23 +10:00
2016-05-26 11:31:05 +05:30
2016-05-29 09:11:11 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-03-22 22:20:15 +01:00
2016-05-20 14:28:54 -03:00
2016-03-22 22:20:17 +01:00
2016-05-19 16:42:29 +02:00
2016-05-20 13:09:22 +01:00
2016-04-13 19:52:34 +03:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:17 +01:00
2016-05-23 14:59:40 +02:00
2016-05-26 11:12:09 -06:00
2016-05-12 09:47:55 +02:00
2016-05-23 16:53:46 +02:00
2016-05-23 13:30:03 +02:00
2016-05-23 13:30:03 +02:00
2016-05-19 16:42:29 +02:00
2015-12-22 18:39:19 +02:00