Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751661AbaFEHK7 (ORCPT ); Thu, 5 Jun 2014 03:10:59 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:34023 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550AbaFEHK4 (ORCPT ); Thu, 5 Jun 2014 03:10:56 -0400 Date: Thu, 5 Jun 2014 09:10:24 +0200 From: Johan Hovold To: Mike Remski Cc: Johan Hovold , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: ftdi_sio BUG: NULL pointer dereference Message-ID: <20140605071024.GH11160@localhost> References: <20140602174630.GD13790@localhost> <538DA0BD.5080208@mutualink.net> <20140604141937.GA11160@localhost> <538F2D51.2010508@mutualink.net> <20140604145200.GB11160@localhost> <538F3360.40407@mutualink.net> <20140604150938.GD11160@localhost> <538F3E3B.5080906@mutualink.net> <20140604160000.GF11160@localhost> <538F51BF.2030901@mutualink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <538F51BF.2030901@mutualink.net> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 04, 2014 at 01:05:03PM -0400, Mike Remski wrote: > On 06/04/2014 12:00 PM, Johan Hovold wrote: > > On Wed, Jun 04, 2014 at 11:41:47AM -0400, Mike Remski wrote: > >> Ok, had a chance to try the cdc-acm; yes it's the ancient one that is > >> in the base install of CentOS 6.4 (2.6.32-71.29.1 centos patched). I'm > >> hitting something similar; I noticed there where a few commits for NULL > >> pointer dereferences in cdc-acm.c. > >> > >> I'll poke into this a bit (yes, I know try a newer kernel, etc) and let > >> you know what I find (or perhaps this looks similar to something already > >> seen?). This device is the same as the original ftdi crash, 1.2 is the > >> same interface with bNumEndpoints == 0. > >> > >> Jun 4 11:35:20 nicA91A84 kernel: cdc_acm 5-2:1.2: This device cannot do > >> calls on its own. It is not a modem. > >> Jun 4 11:35:20 nicA91A84 kernel: BUG: unable to handle kernel NULL > >> pointer dereference at 00000004 > >> Jun 4 11:35:20 nicA91A84 kernel: IP: [] > >> acm_probe+0x44e/0x127c [cdc_acm] > >> Jun 4 11:35:20 nicA91A84 kernel: *pdpt = 00000000354eb001 *pde = > >> 000000007f003067 > >> Jun 4 11:35:20 nicA91A84 kernel: Oops: 0000 [#1] SMP > >> Jun 4 11:35:20 nicA91A84 kernel: last sysfs file: > >> /sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/product > > Yeah, you really need to update your kernel. You'll definitely need at > > least commit 99f347caa456 ("USB: CDC ACM: Fix NULL pointer > > dereference"). > > > > No more reports until you've tried a recent kernel, ok? ;) > > > > Johan > Device in question does not cause kernel crash when using the cdc-acm > driver on a Fedora 19 system running Fedora kernel 3.9.5-301. > > Thanks for all the help, I'll take care of my ancient kernels. That's good to hear. Good luck with the backporting. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/