CWE
476
Advisory Published
CVE Published
Updated

CVE-2015-7566: Null Pointer Dereference

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-&gt;dev, port-&gt;bulk_out_endpointAddress); 609 for (j = 0; j &lt; ARRAY_SIZE(port-&gt;write_urbs); ++j) 610 port-&gt;write_urbs[j]-&gt;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&amp;m=145260786729359&amp;w=2">http://marc.info/?l=linux-usb&amp;m=145260786729359&amp;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 SoftwareAffected VersionHow 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
6.1.106-3
6.1.99-1
6.10.9-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2015-7566?

    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.

  • What is the severity level of CVE-2015-7566?

    The severity level of CVE-2015-7566 is low.

  • How does CVE-2015-7566 affect the Linux kernel?

    CVE-2015-7566 affects the clie_5_attach function in drivers/usb/serial/visor.c in the Linux kernel through version 4.4.1.

  • How can an attacker exploit CVE-2015-7566?

    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.

  • What is the fix for CVE-2015-7566?

    The fix for CVE-2015-7566 is to update the Linux kernel to version 4.5 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203