Skip to content
Memory corruption Advisory Advanced CVE-2025-0073

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.

m-y-mo Follow

Originally disclosed on GitHub Security Lab

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:

m-y-mo, on GitHub Security Lab

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.

More by m-y-mo

View all

64 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.