summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNadezda Lutovinova <lutovinova@ispras.ru>2021-08-18 17:12:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-18 16:42:09 +0200
commit2af0c5ffadaf9d13eca28409d4238b4e672942d3 (patch)
tree52a7660484dbb0943731e8cec9365b29b79d37ee /tools/perf/scripts/python/export-to-sqlite.py
parent1bc220835526ae076eecfb7ed513f80f22cf840d (diff)
usb: gadget: mv_u3d: request_irq() after initializing UDC
If IRQ occurs between calling request_irq() and mv_u3d_eps_init(), then null pointer dereference occurs since u3d->eps[] wasn't initialized yet but used in mv_u3d_nuke(). The patch puts registration of the interrupt handler after initializing of neccesery data. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 90fccb529d24 ("usb: gadget: Gadget directory cleanup - group UDC drivers") Acked-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Nadezda Lutovinova <lutovinova@ispras.ru> Link: https://lore.kernel.org/r/20210818141247.4794-1-lutovinova@ispras.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions