GHSL-2024-357: Use After Free (UAF) in Arm Mali GPU - CVE-2025-0073
The Arm Mali GPU driver allows user-space mappings of pages owned by a queue group to remain accessible after the group is terminated and the pages are freed. An attacker with a malicious user-space application could exploit this use-after-free to gain arbitrary kernel code execution.
For the r53 version of the driver, the new CSGCSUSERPAGEALLOCATION capability introduces a vulnerability. In this case, the pages mapped from a kbasequeue to the user space are owned by the kbasequeuegroup that it binds to:
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
This issue can be exploited to gain arbitrary kernel code execution from a malicious user space application.
What the attacker needed
Malicious user-space application; driver version r53
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A use-after-free happens when a program frees memory but still lets someone use it. Here, the GPU driver frees some memory when a queue group ends, but the user-space program can still access that memory. This could let an attacker run their own code with high privileges.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.