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]
Message-ID: <Pine.LNX.4.44L0.1602281550540.21389-100000@netrider.rowland.org>
Date:	Sun, 28 Feb 2016 15:52:42 -0500 (EST)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Stefani Seibold <stefani@...bold.net>
cc:	linux-usb <linux-usb@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Joerg Roedel <jroedel@...e.de>,
	Oliver Neukum <oneukum@...e.com>
Subject: Re: OHCI unplug kernel crash in kernel 4.3, 4.4 and 4.5

On Sun, 28 Feb 2016, Greg KH wrote:

> On Sun, Feb 28, 2016 at 11:04:03AM -0800, Greg KH wrote:
> > On Sun, Feb 28, 2016 at 10:24:32AM +0100, Stefani Seibold wrote:
> > > I still reported this bug 6 Weeks ago... and i checked it know with the
> > > current kernel 4.5.0-rc5. The bug is yet not fixed.
> > > 
> > > A unplug of an USB 1.0 OHCI controller express card will result in a
> > > kernel crash. The express card is attached via thunderbolt and a sonnet
> > > express card to thunderbolt adapter. The computer hangs after the
> > > unplug, only a power down fix the situation.
> > > 
> > > This is the kernel log of a kernel 4.4 via netconsole:
> > 
> > Can you duplicate this without the nvidia driver loaded?
> 
> Oh, and without virtualbox, that is a horrid mess of total crap, NEVER
> trust that code to do anything correctly.  I'm totally amazed that it
> works at all, and it turns out, often times it really doesn't...

If the problem still occurs, please apply the diagnostic patch below
and post the resulting log messages.

Alan Stern



Index: usb-4.x/drivers/iommu/intel-iommu.c
===================================================================
--- usb-4.x.orig/drivers/iommu/intel-iommu.c
+++ usb-4.x/drivers/iommu/intel-iommu.c
@@ -2270,8 +2270,11 @@ static inline void unlink_domain_info(st
 	assert_spin_locked(&device_domain_lock);
 	list_del(&info->link);
 	list_del(&info->global);
-	if (info->dev)
+	if (info->dev) {
+		dev_info(info->dev, "unlink_domain_info\n");
+		dump_stack();
 		info->dev->archdata.iommu = NULL;
+	}
 }
 
 static void domain_remove_dev_info(struct dmar_domain *domain)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ