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] [thread-next>] [day] [month] [year] [list]
Message-Id: <200908021919.11169.oliver@neukum.org>
Date:	Sun, 2 Aug 2009 19:19:10 +0200
From:	Oliver Neukum <oliver@...kum.org>
To:	Alex Riesen <raa.lkml@...il.com>
Cc:	linux-usb@...r.kernel.org, Oliver Neukum <oliver@...kum.name>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"Greg Kroah-Hartman" <greg@...ah.com>,
	Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: Oops in CDC ACM after an Openmoko phone (neo1973) changes its usb interface from ACM to Ethernet

Am Sonntag, 2. August 2009 18:40:56 schrieb Alex Riesen:
> [   75.453444] Call Trace:
> [   75.453444]  [<ffffffff812a77b2>] usb_autopm_get_interface+0xe/0x10
> [   75.453444]  [<ffffffffa0072e19>] acm_port_down+0x3f/0x1bb [cdc_acm]
> [   75.453444]  [<ffffffff811f0af1>] ? tty_port_close_start+0xc1/0x153
> [   75.453444]  [<ffffffffa0073258>] acm_tty_close+0x3d/0x83 [cdc_acm]
> [   75.453444]  [<ffffffff811eaca7>] tty_release_dev+0x1bf/0x4e8
> [   75.453444]  [<ffffffffa00732c3>] ? acm_tty_open+0x25/0x2ae [cdc_acm]

This can happen only if acm_port_down() fails to detect that the device has
been disconnected, as it calls usb_autopm_get_interface()
only if acm->dev != NULL.
This however should not happen if acm_disconnect runs.

Can you put a printk into acm_disconnect and recompile with CONFIG_USB_DEBUG?

	Regards
		Oliver

--
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