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.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html | third party advisory mailing list |
http://www.securityfocus.com/bid/102028 | third party advisory vdb entry |
https://usn.ubuntu.com/3583-2/ | third party advisory vendor advisory |
https://github.com/torvalds/linux/commit/299d7572e46f98534033a9e65973f13ad1ce9047 | third party advisory patch |
https://usn.ubuntu.com/3583-1/ | third party advisory vendor advisory |
https://groups.google.com/d/msg/syzkaller/cMACrmo1x0k/4KhRoUgABAAJ | third party advisory |
https://github.com/torvalds/linux/commit/bd998c2e0df0469707503023d50d46cf0b10c787 | third party advisory patch |