(0Day) Google Android v4l2 Double Free Privilege Escalation Vulnerability
A double-free vulnerability in the Android v4l2 driver allows a local attacker with high-privileged code execution to escalate privileges to the kernel. The flaw arises from failing to validate an object's existence before operating on it.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Google Android. An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit this vulnerability.
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 a double-free: the driver frees an object without checking if it has already been freed, leading to memory corruption.
Impact
An attacker who can already execute high-privileged code locally could escalate to kernel-level privileges.
What the attacker needed
Local access; ability to execute high-privileged code
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.
This is a bug in a driver (a piece of software that controls hardware) in Android. The driver frees the same memory twice, which can corrupt memory and let an attacker who already has some control over the device gain even higher privileges, up to the kernel (the core of the operating system).
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.