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.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://usn.ubuntu.com/3752-2/ | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html | third party advisory mailing list |
https://twitter.com/efrmv/status/1001574894273007616 | third party advisory |
https://usn.ubuntu.com/3752-3/ | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html | third party advisory mailing list |
https://github.com/torvalds/linux/commit/f7068114d45ec55996b9040e98111afa56e010fe | patch |
https://access.redhat.com/errata/RHSA-2018:2948 | third party advisory vendor advisory |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f7068114d45ec55996b9040e98111afa56e010fe | patch |
https://usn.ubuntu.com/3752-1/ | third party advisory vendor advisory |