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

Skip to content
Commit 95f2d746 authored by Dhoat Harpal's avatar Dhoat Harpal
Browse files

soc: qcom: glink_ssr: Add kref for cb_data



The variable cb_data is accessed from parallel threads where one thread
can free it anytime, this creates use after free scenerio.

To avoid use after free cases cb_data is freed only when kref count
goes to zero.

CRs-Fixed: 2023620
Change-Id: I74225fc61f8ede03a40ff35d2b963d90c0d4689f
Signed-off-by: default avatarDhoat Harpal <hdhoat@codeaurora.org>
parent 22fe1e7d
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