[PATCH-stable] nvme: protect against simultaneous shutdown invocations

Greg KH greg at kroah.com
Tue Oct 10 10:47:20 PDT 2017


On Fri, Oct 06, 2017 at 09:14:55AM -0600, Keith Busch wrote:
> commit 77bf25ea70200cddf083f74b7f617e5f07fac8bd upstream
> 
> Back-ported to 4.4. The difference is the file location of the struct
> definition that's adding the mutex.
> 
> This fixes reported kernel panics in 4.4-stable from simultaneous
> controller resets that was never supposed to be allowed to happen.
> 
> Cc: <stable at vger.kernel.org> # 4.4
> Signed-off-by: Keith Busch <keith.busch at intel.com>
> ---
>  drivers/nvme/host/nvme.h | 2 ++
>  drivers/nvme/host/pci.c  | 3 +++
>  2 files changed, 5 insertions(+)

Thanks for the patch, now queued up.

greg k-h



More information about the Linux-nvme mailing list