Arm Mali CSF KBASE_REG_NO_USER_FREE Unsafe Use Use-After-Free

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.

SHA-256 | b873567924105769f827e9318b7b58298191410905a58cc3d3192c6ce29f3225

Related Posts