Lucene search
+L

Samsung - 'seiren' Kernel Driver Buffer Overflow

🗓️ 28 Oct 2015 00:00:00Reported by Google Security ResearchType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 22 Views

Samsung Exynos Seiren Audio Driver Buffer Overflow Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2015-7890
28 Oct 201500:00
circl
CNVD
Samsung Sieren Kernel Driver Buffer Overflow Vulnerability
7 Nov 201500:00
cnvd
CVE
CVE-2015-7890
12 Feb 202014:54
cve
Cvelist
CVE-2015-7890
12 Feb 202014:54
cvelist
EUVD
EUVD-2015-7788
7 Oct 202500:30
euvd
GoogleProjectZero
Hack The Galaxy: Hunting Bugs in the Samsung Galaxy S6 Edge
2 Nov 201500:00
googleprojectzero
NVD
CVE-2015-7890
12 Feb 202015:15
nvd
Prion
Buffer overflow
12 Feb 202015:15
prion
Source: https://code.google.com/p/google-security-research/issues/detail?id=491

The Exynos Seiren Audio driver has a device endpoint (/dev/seiren) that is accessible by either the system user or the audio group (such as the mediaserver). It was found that the write() implementation for this driver contains a buffer overflow vulnerability that overflow a static global buffer:

static ssize_t esa_write(struct file *file, const char *buffer,
                                        size_t size, loff_t *pos)
{
        struct esa_rtd *rtd = file->private_data;
        unsigned char *ibuf;
…
        ibuf = rtd->ibuf0;
...
        /* receive stream data from user */
        if (copy_from_user(ibuf, buffer, size)) {
                esa_err("%s: failed to copy_from_user\n", __func__);
                goto err;
        }

Note that the user supplied buffer and size parameters are not adequately bounds checked. The destination buffer is fixed size, so memory corruption can occur. A simple proof-of-concept from a privileged shell can be used to trigger the issue (tested on a Samsung S6 Edge):

# dd if=/dev/zero of=/dev/seiren count=5000000

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Oct 2017 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 24.9
CVSS 3.15.5
EPSS0.01289
22