CVE-2018-5845 Use after free in Android for MSM, Firefox OS for MSM, QRD Android

High 7.0 Published Updated

A race condition in the Android display driver can lead to a use-after-free, potentially allowing attackers to execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-5845?

CVE-2018-5845 is a high-severity use after free vulnerability in Google Android, published on 6 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A race condition in drm_atomic_nonblocking_commit() in the display driver can potentially lead to a Use After Free scenario in all Android releases from CAF (Android for MSM, Firefox OS for MSM, QRD Android) using the Linux Kernel.

Weakness: CWE-416, CWE-362

Which versions are affected by CVE-2018-5845?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2018-5845?

No fix has been published for CVE-2018-5845 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-5845 being exploited?

There is no known exploitation of CVE-2018-5845 in the wild and no public exploit code.

All Google Android vulnerabilities

Sources

Also known as GHSA-5ccj-ffcf-cp67.

Is CVE-2018-5845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free