Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24956f26 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: core: Fix use after free for hub usb device



There is a possibility of root hub usb device being
freed as part of controller driver unbind and hub
thread trying to access root hub usb device. Hence
increment the usb device reference count before
accessing it by hub thread.

CRs-Fixed: 671581
Change-Id: Icf1297452e55a4ca0acd67075320f7a32929a1b3
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent e1b6fe17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment