USB: EHCI: tegra: Fix use-after-free in .remove()
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>
Tue, 17 Jun 2014 14:17:40 +0000 (17:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:25:22 +0000 (16:25 -0700)
commit6a70b621227d1fd3efd150fce63ea4d51d4acaa9
tree8c5f0e0c2e03917735f5334dd6c0a62bb9ab61ab
parent6e693739e9b603b3ca9ce0d4f4178f0633458465
USB: EHCI: tegra: Fix use-after-free in .remove()

The tegra_ehci_hcd structure is located in the private space allocated
by the core USB code so it must not be accessed after the HCD is
freed.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-tegra.c