First published: Thu Jan 07 2016(Updated: )
A local kernel crash on invalid USB device requiring the visor driver was reported. The clie_5_attach function of the visor driver, which is called during the driver initialization process, expects an OUT-Bulk-Endpoint. Due to an incomplete sanity check, the visor driver tries to dereference null-pointers, which results in crash. Vulnerable code: **** CentOS-Kernel linux-3.10.0-229.14.1.el7 (drivers/usb/serial/visor.c) ... 607 608 pipe = usb_sndbulkpipe(serial->dev, port->bulk_out_endpointAddress); 609 for (j = 0; j < ARRAY_SIZE(port->write_urbs); ++j) 610 port->write_urbs[j]->pipe = pipe; /* if there is no configured OUT-bulk-endpoint, the kernel tries to dereference null-pointers */ 611 612 return 0; 613 } ... **** Reproducer can be found in original bug report: <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED WONTFIX - CVE-2015-7566 Local RedHat Enterprise Linux DoS – RHEL 7.1 Kernel crashes on invalid USB device descriptors (visor driver) [local-DoS]" href="show_bug.cgi?id=1283371">https://bugzilla.redhat.com/show_bug.cgi?id=1283371</a> Proposed upstream patch: <a href="http://marc.info/?l=linux-usb&m=145260786729359&w=2">http://marc.info/?l=linux-usb&m=145260786729359&w=2</a> Upstream commit: <a href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cb3232138e37129e88240a98a1d2aba2187ff57c">http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cb3232138e37129e88240a98a1d2aba2187ff57c</a> Bugtraq: <a href="http://seclists.org/bugtraq/2016/Mar/58">http://seclists.org/bugtraq/2016/Mar/58</a>
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Novell Suse Linux Enterprise Software Development Kit | =11-sp4 | |
Novell Suse Linux Enterprise Debuginfo | =11-sp4 | |
Novell Suse Linux Enterprise Real Time Extension | =11-sp4 | |
Novell Suse Linux Enterprise Real Time Extension | =12-sp1 | |
Novell Suse Linux Enterprise Server | =11-extra | |
Novell Suse Linux Enterprise Server | =11-sp4 | |
Linux Linux kernel | <=4.4.1 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.106-3 6.1.112-1 6.11.4-1 6.11.5-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2015-7566 is a vulnerability in the Linux kernel that allows physically proximate attackers to cause a denial of service or possibly have other unspecified impacts.
The severity level of CVE-2015-7566 is low.
CVE-2015-7566 affects the clie_5_attach function in drivers/usb/serial/visor.c in the Linux kernel through version 4.4.1.
An attacker can exploit CVE-2015-7566 by inserting a USB device that lacks a bulk-out endpoint, causing a NULL pointer dereference and system crash.
The fix for CVE-2015-7566 is to update the Linux kernel to version 4.5 or higher.