GHSL-2022-092: Physical memory access by untrusted app in Qualcomm Adreno GPU - CVE-2022-25664
A coherency flaw between CPU and GPU memory in the Adreno GPU let an untrusted app read stale contents of physical pages it had just mapped. Because zeroing happened only in the CPU cache, the GPU could still see old data belonging to other processes or the kernel.
A vulnerability in the Adreno GPU allows physical memory to be read by an untrusted app.
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
Root cause
Likely the page zeroing was performed only in the CPU cache without flushing it to physical memory, so the GPU retained stale backing-page contents.
Impact
An untrusted app could read stale physical memory contents that may belong to another process or the kernel, leading to an information leak.
What the attacker needed
Ability to run an untrusted app on the device; Qualcomm Adreno GPU device
The fix
The vendor identified the root cause and released a patch to customers privately in April 2022.
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 phone's graphics chip (the GPU) and its main processor (the CPU) share memory. When an app asks for a fresh block of memory, the system is supposed to wipe it clean first. Here the wiping only happened in a temporary holding area (the cache) and never reached the real memory, so the graphics chip could still read whatever was left there before, which might be another app's or the system's private data.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.