CVE-2016-5340 Auth bypass in n/a

High 7.8 Published Updated

Attackers can bypass access restrictions in the Android kernel's ashmem module by manipulating dentry names, potentially gaining unauthorized access to graphics resources.

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-2016-5340?

CVE-2016-5340 is a high-severity authentication bypass vulnerability in Google Android, published on 7 Aug 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The is_ashmem_file function in drivers/staging/android/ashmem.c in a certain Qualcomm Innovation Center (QuIC) Android patch for the Linux kernel 3.x mishandles pointer validation within the KGSL Linux Graphics Module, which allows attackers to bypass intended access restrictions by using the /ashmem string as the dentry name.

Weakness: CWE-20

Which versions are affected by CVE-2016-5340?

It affects 2 products.

Products include Google Android, Linux kernel.

How do I fix CVE-2016-5340?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2016-5340 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as GHSA-622x-gpp9-6rc3.

Is CVE-2016-5340 in your software?

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

Check your SBOMs for free