Re: [PATCH] xhci-ring: Fix Null pointer dereference
From: Mathias Nyman
Date: Wed Aug 27 2014 - 10:11:58 EST
On 08/26/2014 06:47 PM, Ricardo Ribalda Delgado wrote:
> While testing a usb gadget I managed to crash completely the host
> computer. This was due to a NULL pointer derefence.
> This patch avoids the crash although the kernel still outputs some
> Without this patch, kernels from (at least) 3.14 can be crashed with
> mass storage gadgets.
> Affected host: NEC Corporation uPD720200 USB 3.0
This should not be necessary anymore after
xhci: rework cycle bit checking for new dequeue pointers
Which was just added to Greg's usb-linus branch.
It checks that the new_deq_ptr and new_deq_seg are valid before calling
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/