Stack-based buffer overflow in acdb audio driver (CVE-2013-2597)

Release Date: 
June 21, 2013
Advisory ID: 

The following security vulnerability has been identified in the acdb audio driver.

The acdb audio driver provides an ioctl system call interface to user space clients for communication. When processing arguments passed to the ioctl handler, a user space supplied size is used to copy as many bytes from user space to a local stack buffer without proper bounds checking. An application with access to the /dev/msm_acdb device file (audio or system group) can use this flaw to, e.g., elevate privileges.

AccessVector: local
Security Risk: medium
Vulnerability: CWE-121 (stack-based buffer overflow)

Affected versions:
All Android releases from CAF using the Linux kernel from the following heads:

  • msm-3.*
  • jb*
  • ics*
  • gingerbread*

We advise customers to apply the following patch:


This issue has been first disclosed by @fi01_IS01 in a public exploit. Qualcomm Innovation Center, Inc. (QuIC) additionally thanks Xuxian Jiang for reporting the issue and working with QuIC to help improve Android device security. He independently discovered this vulnerability.


Initial revision