CVE DatabaseCVE-2013-2597
한국어 권고문 →
CVE-2013-25978.4/HIGHCISA KEVCWE-121

Qualcomm MSM Audio Driver Stack-Based Buffer Overflow (CVE-2013-2597) Technical Advisory

⚡ Jump to Patch
Affected Vendors
linux, qualcomm, google
Affected Components
linux_kernel, android
Published Date
2014-08-31
CVSS v3.1
8.4
HIGH
EPSS (30d)
1.5%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Android devices powered by Qualcomm MSM chipsets running Linux kernel versions 2.6.x and 3.x

Impact

Local attackers can exploit the /dev/msm_acdb device node to trigger a stack-based buffer overflow, leading to local privilege escalation (LPE) to root

Mitigation

Apply official kernel patches from Qualcomm/Google, or restrict access permissions to the vulnerable /dev/msm_acdb device node

Affected Products & Version Scope

Qualcomm MSM chipset-based Android devices running Linux kernel 2.6.x and 3.x with active /dev/msm_acdb device nodes

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security patches provided by Qualcomm and Android OEMs. Below is an example of syncing and building the patched kernel source.

bash
# 1. Clone the official Android MSM kernel repository
git clone https://android.googlesource.com/kernel/msm.git
cd msm
git checkout -b patch_branch <patched_tag_or_commit>

# 2. Build the patched kernel image
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
make msm_defconfig
make -j$(nproc)

2. Temporary Workaround & Hardening Configuration

If patching is not immediately feasible, restrict access to the /dev/msm_acdb device node to prevent unauthorized local applications from interacting with the driver.

bash
# Restrict permissions of the device node to root only
chmod 600 /dev/msm_acdb
chown root:root /dev/msm_acdb

# Persist the configuration using a udev rule
echo 'KERNEL=="msm_acdb", MODE="0600", OWNER="root", GROUP="root"' > /etc/udev/rules.d/99-msm-acdb-security.rules
udevadm control --reload-rules && udevadm trigger

3. Log Audit & IoC Verification Commands

Use the following script to verify the presence of the vulnerable device node and inspect kernel logs for potential exploitation attempts.

bash
#!/bin/sh
echo '[+] Checking for vulnerable device node...'
if [ -c /dev/msm_acdb ]; then
  echo '[WARNING] /dev/msm_acdb device node exists.'
  ls -l /dev/msm_acdb
else
  echo '[OK] /dev/msm_acdb device node not found.'
fi

echo '[+] Checking kernel log for potential ioctl exploit attempts...'
dmesg | grep -Ei 'acdb|buffer overflow|stack smash|invalid ioctl'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, immediately apply the vendor kernel patches or restrict access to the /dev/msm_acdb device node.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2013-2597) is a stack-based buffer overflow (CWE-121) residing in the acdb_ioctl function within audio_acdb.c of the Qualcomm MSM audio driver. The root cause is the lack of proper boundary validation on the size parameter passed from user space before copying data into the kernel stack buffer.

2. Exploitation Mechanics & Attack Scenario

An attacker leverages a local unprivileged application to open the /dev/msm_acdb device node. By invoking the ioctl system call with an excessively large size argument, the attacker triggers the vulnerable acdb_ioctl function. Since the function fails to validate the input size, it overwrites the kernel stack frame, including the return address, allowing the attacker to hijack control flow and execute arbitrary code with kernel privileges.

3. Infrastructure & Business Impact

As a vulnerability listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, this flaw poses a severe threat. Successful exploitation completely bypasses the Android application sandbox, granting full root access to the attacker. This can lead to total device compromise, data exfiltration, and persistent malware installation on affected mobile endpoints.

Official Vendor Advisories & References

NVD Original English Description

Stack-based buffer overflow in the acdb_ioctl function in audio_acdb.c in the acdb audio driver for the Linux kernel 2.6.x and 3.x, as used in Qualcomm Innovation Center (QuIC) Android contributions for MSM devices and other products, allows attackers to gain privileges via an application that leverages /dev/msm_acdb access and provides a large size value in an ioctl argument.

Frequently Asked SecOps Questions (CVE-2013-2597)

FAQ

Q1. How critical is CVE-2013-2597 and is it actively exploited in the wild?

CVE-2013-2597 is rated CVSS 8.4 (HIGH) with a 30-day EPSS exploitation probability of 1.5%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2013-2597?

Primary impacted vendors include linux, qualcomm, google across linux_kernel, android. Scope summary: Qualcomm MSM chipset-based Android devices running Linux kernel 2.6.x and 3.x with active /dev/msm_acdb device nodes

Q3. What temporary mitigations or workarounds exist for CVE-2013-2597 before patching?

[Mitigation] Apply official kernel patches from Qualcomm/Google, or restrict access permissions to the vulnerable /dev/msm_acdb device node Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2013-2597

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (linux)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2013-2597 Qualcomm MSM Audio Driver Stack-Based Buffer Overflow (CVE-2013-2597) Technical Advisory (CVSS 8.4) - Patch & Workaround | CVE Pulse