]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06b57defc0e953ac6c99c5205f3777f6be18ab58
tree8c5f0e0c2e03917735f5334dd6c0a62bb9ab61ab
parent4bdc38fe73b565075941c57c6ae8a55083de973b
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