Bug 1510799 (CVE-2017-16525) - CVE-2017-16525 kernel: Use-after-free in usb_serial_console_disconnect()
Summary: CVE-2017-16525 kernel: Use-after-free in usb_serial_console_disconnect()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-16525
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1510854
Blocks: 1510846
TreeView+ depends on / blocked
 
Reported: 2017-11-08 09:22 UTC by Adam Mariš
Modified: 2021-02-17 01:16 UTC (History)
47 users (show)

Fixed In Version: kernel 4.13.8
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2018-01-31 22:33:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-11-08 09:22:00 UTC
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.

References:

https://groups.google.com/forum/#!msg/syzkaller/cMACrmo1x0k/4KhRoUgABAAJ

http://seclists.org/oss-sec/2017/q4/223

Upstream fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=299d7572e46f98534033a9e65973f13ad1ce9047

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bd998c2e0df0469707503023d50d46cf0b10c787

Comment 1 Adam Mariš 2017-11-08 10:28:37 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1510854]

Comment 2 Justin M. Forbes 2017-11-08 13:13:21 UTC
This was fixed for Fedora with 4.13.8

Comment 5 Vladis Dronov 2018-01-31 22:33:07 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2, as a code with the flaw is not built in these products.

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7, its real-time kernel, Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 6 Vladis Dronov 2018-01-31 22:33:43 UTC
What is Red Hat Enterprise Linux 7 for ARM 64,
        Red Hat Enterprise Linux 7 for Power 9 LE

The kernel package as shipped with Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE is an updated kernel intended to support new architectures not available at the time of Red Hat Enterprise Linux 7 original shipping. The new kernel version is based on an upstream Linux kernel version 4.11. The offering is distributed with other updated packages, but most of the userspace is the standard Red Hat Enterprise Linux 7 Server RPM files.

For more information please refer to:

https://access.redhat.com/articles/3158541
https://access.redhat.com/articles/3158511


Note You need to log in before you can comment on or make changes to this bug.