CVE-2017-16525
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.6CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 0.10%• Percentile: 28%
Techniques & Countermeasures
- CWE-416•Use After Free
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.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04
- debian•debian_linux
7.0
- linux•linux_kernel
≥ 2.6.18, < 3.2.96 | ≥ 3.3, < 3.10.108 | ≥ 3.11, < 3.16.51 | ≥ 3.17, < 3.18.76 | ≥ 3.19, < 4.1.46 | ≥ 4.2, < 4.4.93 | ≥ 4.5, < 4.9.57 | ≥ 4.10, < 4.13.8
References (7)
- https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html
- http://www.securityfocus.com/bid/102028
- https://usn.ubuntu.com/3583-2/
- https://github.com/torvalds/linux/commit/299d7572e46f98534033a9e65973f13ad1ce9047
- https://usn.ubuntu.com/3583-1/
- https://groups.google.com/d/msg/syzkaller/cMACrmo1x0k/4KhRoUgABAAJ
- https://github.com/torvalds/linux/commit/bd998c2e0df0469707503023d50d46cf0b10c787