Home Tools Exploits & CVE's Arm Mali CSF KBASE_REG_NO_USER_FREE Unsafe Use Use-After-Free

Arm Mali CSF KBASE_REG_NO_USER_FREE Unsafe Use Use-After-Free

0
Authored by Jann Horn, Google Security Research

The Mali driver tries to use the KBASE_REG_NO_USER_FREE flag to ensure that the memory region referenced by kbase_csf_tiler_heap::buf_desc_reg cannot be freed by userspace. However, this flag is only a single bit, and there can be multiple tiler heaps referencing the same memory region. This can lead to a use-after-free condition.

advisories | CVE-2022-42716

Exit mobile version