From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:60324 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751089AbeELEcy (ORCPT ); Sat, 12 May 2018 00:32:54 -0400 Date: Sat, 12 May 2018 06:32:38 +0200 From: Greg KH To: Jacob Saunders Cc: stable@vger.kernel.org Subject: Re: patch "xhci: Fix use-after-free in xhci_free_virt_device" causes kernel crashes on 4.16.8 on unplug Message-ID: <20180512043238.GA23800@kroah.com> References: <31c27b43-16e5-fd1c-2018-432620639fc5@wright.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <31c27b43-16e5-fd1c-2018-432620639fc5@wright.edu> Sender: stable-owner@vger.kernel.org List-ID: On Fri, May 11, 2018 at 07:15:08PM -0400, Jacob Saunders wrote: > On Linux kernel 4.16.8 (using Arch Linux) if I eject a USB 3.0 device from > my system (unplug or "udisksctl power-off --block-device /dev/sde), it > freezes instantly with a null pointer error in XHCI. I've been unable to > successfully capture a kernel log of the error (and my cameras did not > return usable results) and the screen begins scrolling near-immediately with > hung processors in a VT.� I have done a git bisection (between 4.16.7 and > 4.16.7) narrowing it down to the following commit: As discussed on the linux-usb mailing list, there's a fix for this coming. thanks, greg k-h