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.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 4.11 | 4.14.45 |
| linux / linux_kernel | 4.15 | 4.16.13 |
| canonical / ubuntu_linux | 16.04 | 16.04.x |
| canonical / ubuntu_linux | 18.04 | 18.04.x |
| debian / debian_linux | 8.0 | 8.0.x |