PowerVR DEVMEMXINT_RESERVATION::ppsPMR Use-After-Free
2024-9-11 00:59:8 Author: packetstormsecurity.com(查看原文) 阅读量:3 收藏

PowerVR DEVMEMXINT_RESERVATION::ppsPMR Use-After-Free
Posted Sep 10, 2024
Authored by Jann Horn, Google Security Research

The array ppsPMR in DEVMEMXINT_RESERVATION holds references to PMR structures (using PMRRefPMR2()), intending to prevent the PMRs' physical memory from being released. However, PMRs with PVRSRV_MEMALLOCFLAG_NO_OSPAGES_ON_ALLOC (which for OSMem PMRs internally translates to FLAG_ONDEMAND) can release their backing physical pages while references to the PMR still exist; PMRLockSysPhysAddresses() must be used to prevent a PMR's backing pages from disappearing, like in DevmemIntMapPMR2(). Therefore, it is currently possible to free a PMR's backing pages while the PMR is mapped into a DEVMEMXINT_RESERVATION, leading to physical page use-after-free.

tags | exploit
advisories | CVE-2024-34747
SHA-256 | cc6e11ae0dee934a94a29ebded0e52e70690ca998d7efe6c5f0ffe85ffda4eba
Download | Favorite | View

文章来源: https://packetstormsecurity.com/files/181438/GS2024091042451698.tgz
如有侵权请联系:admin#unsafe.sh