The sr_do_ioctl function in drivers/scsi/sr_ioctl.c in the Linux kernel through 4.16.12 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact because sense buffers have different sizes at the CDROM layer and the SCSI layer, as demonstrated by a CDROMREADMODE2 ioctl call.
https://usn.ubuntu.com/3752-3/
https://usn.ubuntu.com/3752-2/
https://usn.ubuntu.com/3752-1/
https://twitter.com/efrmv/status/1001574894273007616
https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html
https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html
https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html
https://github.com/torvalds/linux/commit/f7068114d45ec55996b9040e98111afa56e010fe