From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmitry Torokhov" Subject: Re: [linux-usb-devel] Oops in khubd Date: Mon, 4 Jun 2007 10:10:00 -0400 Message-ID: References: <200706031240.43330.mb@bu3sch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline Sender: owner-linux-input@atrey.karlin.mff.cuni.cz List-Help: List-Owner: List-Post: List-Unsubscribe: To: Jiri Kosina Cc: Michael Buesch , linux-usb-devel@lists.sourceforge.net, linux-input@atrey.karlin.mff.cuni.cz List-Id: linux-input@vger.kernel.org Hi, On 6/4/07, Jiri Kosina wrote: > This is probably rather related to something in input. Some CCs added and > original message preserved below. > > I think that struct input_dev passed from hidinput_disconnect() should not > be the corrupted one, as it is dereferenced sooner on the codepath and it > doesn't go oops. > I think this commit should help: http://git.kernel.org/?p=linux/kernel/git/dtor/input.git;a=commit;h=fe838febd49be7b8013ae433a6424693180333b5 I just asked Linus to pull it so 2.6.22 does not crash so often while I am fixing locking properly for 2.6.23. -- Dmitry