Improper input validation in Linux kernel - CVE-2016-5340

 

Improper input validation in Linux kernel - CVE-2016-5340

Published: August 8, 2016 / Updated: August 10, 2024


Vulnerability identifier: #VU95703
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-5340
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

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.


Affected software

Linux kernel

How to mitigate CVE-2016-5340

Install update from vendor's repository.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins