A basic PoC leak for CVE-2021-28663 (Internal of the Android kernel backdoor vulnerability)
This is a basic PoC for CVE-2021-28663. A design flaw in Mali GPU Android Kernel Driver.
- Create a
GPU_VAand alsommapto it so we can get virtual addr for phys pages. - Create an alias for phy pages, but don't do
mmapsogpu_mappingremains as 1 - Change flags of
GPU_VAtoBASE_MEM_DONT_NEED. Mali will make them evictable - Since we have
regfor aliased page, now we canmmapto it. This will give us RDONLY access from CPU


