CVE-2017-8246 Use after free in Android for MSM, Firefox OS for MSM, QRD Android

High 7.8 Published Updated

A use-after-free vulnerability in the Android kernel audio driver allows attackers to execute arbitrary code or escalate privileges via dangling pointer access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-8246?

CVE-2017-8246 is a high-severity use after free vulnerability in Google Android, published on 12 May 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In function msm_pcm_playback_close() in all Android releases from CAF using the Linux kernel, prtd is assigned substream->runtime->private_data. Later, prtd is freed. However, prtd is not sanitized and set to NULL, resulting in a dangling pointer. There are other functions that access the same memory (substream->runtime->private_data) with a NULL check, such as msm_pcm_volume_ctl_put(), which means this freed memory could be used.

Weakness: CWE-416

Which versions are affected by CVE-2017-8246?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2017-8246?

No fix has been published for CVE-2017-8246 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-2017-8246 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-qx82-prw3-cr2g.

Is CVE-2017-8246 in your software?

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

Check your SBOMs for free