linux/drivers/cdrom
Scott Bauer 585e054220 cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
commit 8f3fafc9c2 upstream.

Like d88b6d04: "cdrom: information leak in cdrom_ioctl_media_changed()"

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().

Signed-off-by: Scott Bauer <scott.bauer@intel.com>
Signed-off-by: Scott Bauer <sbauer@plzdonthack.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-09-25 23:47:31 +01:00
..
cdrom.c cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status 2018-09-25 23:47:31 +01:00
gdrom.c gdrom: missed conversion from req->buffer 2014-04-16 14:15:24 -06:00
Makefile vio: remove dangly makefile bits 2013-12-03 17:35:23 +01:00