Young_X e4f3aa2e1e cdrom: fix improper type cast, which can leat to information leak.
There is another cast from unsigned long to int which causes
a bounds check to fail with specially crafted input. The value is
then used as an index in the slot array in cdrom_slot_status().

This issue is similar to CVE-2018-16658 and CVE-2018-10940.

Signed-off-by: Young_X <YangX92@hotmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-10-03 10:20:40 -06:00
..
2018-09-07 10:05:20 +02:00
2018-09-21 09:41:05 +02:00
2018-08-08 15:44:47 +10:00
2018-09-27 21:53:55 +02:00
2018-08-16 12:26:24 -07:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-09-27 21:53:55 +02:00
2018-10-01 08:58:57 -06:00
2018-09-14 13:03:17 -10:00
2018-09-28 18:20:41 +02:00
2018-07-30 10:04:58 +02:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-08-23 14:02:22 -07:00
2018-09-28 18:04:06 -07:00
2018-09-24 15:16:41 +02:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:30:44 -07:00
2018-08-17 11:32:50 -07:00
2018-08-23 15:44:58 -07:00
2018-08-24 08:45:19 -07:00
2018-10-01 08:58:57 -06:00
2018-08-18 11:04:51 -07:00