diff options
author | Andy Shevchenko <[email protected]> | 2020-08-14 21:22:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-08-18 12:09:52 +0200 |
commit | 7b2816dd293031b9dec476d7853c099dc2ec9172 (patch) | |
tree | 0faaba5f81d2736abc89e76d99c61a45fe3765c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bed97b30968ba354035a020989df0623e52b5536 (diff) |
usb: hcd: Fix use after free in usb_hcd_pci_remove()
On the removal stage we put a reference to the controller structure and
if it's not used anymore it gets freed, but later we try to dereference
a pointer to a member of that structure.
Copy necessary field to a temporary variable to avoid use after free.
Fixes: 306c54d0edb6 ("usb: hcd: Try MSI interrupts on PCI devices")
Reported-by: John Garry <[email protected]>
Link: https://lore.kernel.org/linux-usb/[email protected]/
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions