lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 29 Oct 2010 13:07:16 +0800
From:	marui <m00150988@...wei.com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	Greg KH <greg@...ah.com>, Alan Stern <stern@...land.harvard.edu>,
	USB list <linux-usb@...r.kernel.org>,
	Kernel development list <linux-kernel@...r.kernel.org>,
	zihan@...wei.com, wangyeqi@...wei.com
Subject: Re: [PATCH] fix oops in usbserial_cleanup function

Hi,

thanks for your responds.

the card use option.ko

Bestregards
marui
----- Original Message ----- 
From: "Alan Cox" <alan@...rguk.ukuu.org.uk>
To: "marui" <m00150988@...wei.com>
Cc: "Greg KH" <greg@...ah.com>; "Alan Stern" <stern@...land.harvard.edu>; "USB list" <linux-usb@...r.kernel.org>; "Kernel development list" <linux-kernel@...r.kernel.org>; <zihan@...wei.com>; <wangyeqi@...wei.com>
Sent: Wednesday, October 27, 2010 5:32 PM
Subject: Re: [PATCH] fix oops in usbserial_cleanup function


>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999651] serial_cleanup - port 5
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999653] destroy_serial - (null)
> 
> So someone called destroy serial with serial->type->desc NULL
> 
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999654] return_serial
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999671] BUG: unable to handle kernel NULL pointer dereference at (null)
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999675] IP: [<(null)>] (null)
> 
> And serial->type->release NULL
> 
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999762]  [<fb877b40>] ? destroy_serial+0x80/0xd0 [usbserial]
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999765]  [<fb877ac0>] ? destroy_serial+0x0/0xd0 [usbserial]
>> Oct 27 00:20:10 linux-mec9 kernel: [ 6441.999770]  [<c03f351a>] ? kref_put+0x2a/0x60
> 
> Which came from the tty close (which will be after the hangup if you
> pulled the card out with the modem in use). Kref leak perhaps ?
> 
> What driver is actually being used for the card itself ?
> 
> Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ