Mali-cious Intent: Exploiting GPU Vulnerabilities (CVE-2022-22706 / CVE-2021-39793)
Two vulnerabilities in Mali GPU drivers on Android devices allowed unprivileged apps to gain root access. An attacker could use a malicious app to steal photos, eavesdrop on conversations, or take complete control of the device.
starlabs.sg
Published on starlabs.sg
Imagine downloading a game from a third-party app store. You grant it seemingly innocuous permissions, but hidden within the app is a malicious exploit that allows attackers to steal your photos, eavesdrop on your conversations, or even take complete control of your device.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a flaw in the Mali GPU kernel driver that lets an unprivileged app escalate to root, though the text does not describe the specific coding mistake.
Impact
An attacker could steal photos, eavesdrop on conversations, or take complete control of the device.
What the attacker needed
A malicious app installed on the device
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 write-up has not been written yet. The Original tab links to the source.
A GPU is the chip that draws graphics, and its driver is software that lets apps talk to it. These bugs meant a normal app without special permissions could trick the driver into giving it the highest level of control on the phone, called root. That would let the app read private data or run any command.
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.