Commit 4e661349 authored by Vamsi Krishna Gattupalli's avatar Vamsi Krishna Gattupalli Committed by Errikayala Subramanyam
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 avatarRamesh nallagopu <rnallago@qti.qualcomm.com>
Signed-off-by: default avatarVamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
(cherry picked from commit e4707cf7)
parent bc2b9c45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment