diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2019-10-04 14:59:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 15:32:12 +0300 |
commit | cfbb8a84c2d2ef49bccacb511002bca4f6053555 (patch) | |
tree | 9d1026266cf639881ec85127cc7a4585a239d85a /Documentation/fpga | |
parent | ac343366846a445bb81f0a0e8f16abb8bd5d5d88 (diff) | |
download | linux-cfbb8a84c2d2ef49bccacb511002bca4f6053555.tar.xz |
xhci: Fix NULL pointer dereference in xhci_clear_tt_buffer_complete()
udev stored in ep->hcpriv might be NULL if tt buffer is cleared
due to a halted control endpoint during device enumeration
xhci_clear_tt_buffer_complete is called by hub_tt_work() once it's
scheduled, and by then usb core might have freed and allocated a
new udev for the next enumeration attempt.
Fixes: ef513be0a905 ("usb: xhci: Add Clear_TT_Buffer")
Cc: <stable@vger.kernel.org> # v5.3
Reported-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/1570190373-30684-9-git-send-email-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/fpga')
0 files changed, 0 insertions, 0 deletions