Skip to content
Memory corruption Advisory Advanced CVE-2019-10565

(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.

Lance Jiang Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

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.

Lance Jiang and Moony Li of TrendMicro Research, on the Zero Day Initiative

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.

More from Zero Day Initiative

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.