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: <20160704152131.GA2766@wunner.de>
Date:	Mon, 4 Jul 2016 17:21:31 +0200
From:	Lukas Wunner <lukas@...ner.de>
To:	Mathias Nyman <mathias.nyman@...ux.intel.com>
Cc:	"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linux Memory Management List <linux-mm@...ck.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Linux PCI <linux-pci@...r.kernel.org>,
	ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	USB <linux-usb@...r.kernel.org>, acelan@...il.com
Subject: Re: kmem_cache_alloc fail with unable to handle paging request after
 pci hotplug remove.

On Mon, Jul 04, 2016 at 06:04:42PM +0300, Mathias Nyman wrote:
> On 04.07.2016 17:25, Rafael J. Wysocki wrote:
> > On Mon, Jul 4, 2016 at 4:26 PM, Mathias Nyman <mathias.nyman@...ux.intel.com> wrote:
> > > AceLan Kao can get his DELL XPS 13 laptop to hang by plugging/un-plugging
> > > a USB 3.1 key via thunderbolt port.
> > > 
> > > Allocating memory fails after this, always pointing to NULL pointer or
> > > page request failing in get_freepointer() called by
> > > kmalloc/kmem_cache_alloc.
> > > 
> > > Unplugging a usb type-c device from the thunderbolt port on Alpine Ridge
> > > based systems like this one will hotplug remove PCI bridges together
> > > with the USB xhci controller behind them.

Yes, that matches with the lspci output you've posted, the whole
Thunderbolt controller is gone after unplug. Perhaps it's powered
down? What does "lspci -vvvv -s 00:1d.6" say? (Does the root port
still have a link to the Thunderbolt controller?)

Best regards,

Lukas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ