The usb_serial_console_disconnect function in drivers/usb/serial/console.c in the Linux kernel before 4.13.8 allows local users to cause a denial of service (use-after-free and system crash) or possibly have unspecified other impact via a crafted USB device, related to disconnection and failed setup.
https://usn.ubuntu.com/3583-2/
https://usn.ubuntu.com/3583-1/
https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html
https://groups.google.com/d/msg/syzkaller/cMACrmo1x0k/4KhRoUgABAAJ
https://github.com/torvalds/linux/commit/bd998c2e0df0469707503023d50d46cf0b10c787
https://github.com/torvalds/linux/commit/299d7572e46f98534033a9e65973f13ad1ce9047