Commit 0179079d authored by Vamsi Krishna Gattupalli's avatar Vamsi Krishna Gattupalli Committed by Venugopal Komarthi
Browse files

msm: adsprpc: Handle UAF in fastrpc internal munmap



Added reference count for contex map indicate memory under used
in remote call. And, this memory would not removed in internal
unmap to avoid UAF.

Change-Id: Ieb4ff6b298ff9c48953bc5b3539fdfe19a14b442
Acked-by: default avatarDEEPAK SANNAPAREDDY <sdeeredd@qti.qualcomm.com>
Signed-off-by: default avatarVamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
(cherry picked from commit d7257578)
parent f4da96d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment