diff options
author | Nadezda Lutovinova <[email protected]> | 2021-08-19 19:33:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-26 13:22:16 +0200 |
commit | 7c75bde329d7e2a93cf86a5c15c61f96f1446cdc (patch) | |
tree | 60d05a7912ec1d9c817a6b0154f7f4fa7bcdebff /scripts/gdb/linux/vmalloc.py | |
parent | 1abade64563ef5388db545b55cf158e849f6e717 (diff) |
usb: musb: musb_dsps: request_irq() after initializing musb
If IRQ occurs between calling dsps_setup_optional_vbus_irq()
and dsps_create_musb_pdev(), then null pointer dereference occurs
since glue->musb wasn't initialized yet.
The patch puts initializing of neccesery data before registration
of the interrupt handler.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Nadezda Lutovinova <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions