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]
Date:	Fri, 06 Nov 2015 11:12:39 -0800
From:	Joshua Clayton <joshua.clayton@...west.com>
To:	linux-arm-kernel@...ts.infradead.org
Cc:	Jean-Michel Hautbois <jean-michel.hautbois@...-labs.com>,
	Fabio Estevam <fabio.estevam@...escale.com>,
	Jon Nettleton <jon.nettleton@...il.com>,
	Russell King - ARM Linux <linux@....linux.org.uk>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: i.MX6: Oops when unplugging a USB key

On Friday, November 06, 2015 05:32:30 PM Jean-Michel Hautbois wrote:
> Hi !
> 
> I have an issue on my i.MX6 board I don't understand (kernel is a 4.2)...
> When I connect a USB key, and then disconnect it, it oopses and
> reboots (as I have panic on oops, and reboot on panic).
> Seems to be on the umount part...
> The USB is connected through a smsc95xx but I don't think this is related...
> 
> Any idea is welcome :)
> 

I have seen a similar issue intermitently on my imx6 based board.
I would also like to find a fix.

Specifically: unplugging usb storage occasionally causes an oops.

I'm guessing a race with use-after-free, but I haven't tracked it down.
In my environment it has been hard to reproduce, and I wasn't able to
grok anything useful in the trace.

Are you seeing this behavior consistently?

Perhaps the driver is freeing more than it should when a device is disconnected.

-- 
Joshua Clayton
Software Engineer
UniWest
122 S. 4th Avenue
Pasco, WA 99301
(509) 544-0720
--
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