Skip to content
Commit 4056f87e authored by Santosh Sakore's avatar Santosh Sakore Committed by Harshitha G R
Browse files

msm: adsprpc: use-after-free (UAF) in global maps



Currently, remote heap maps get added to the global list before the
fastrpc_internal_mmap function completes the mapping. Meanwhile, the
fastrpc_internal_munmap function accesses the map, starts unmapping, and
frees the map before the fastrpc_internal_mmap function completes,
resulting in a use-after-free (UAF) issue. Add the map to the list after
the fastrpc_internal_mmap function completes the mapping.

Change-Id: Ia524f142edba57a1f389dd0e5c83a1967c7f5a59
Acked-by: default avatarAbhishek Singh <[email protected]>
Signed-off-by: default avatarSantosh Sakore <[email protected]>
(cherry picked from commit 64e5b566)
parent dba8b15d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment