Skip to main content
Vulnerability Database/CVE-2024-38422

CVE-2024-38422: Qualcomm WSA8845H Buffer Overflow Flaw

CVE-2024-38422 is a buffer overflow vulnerability in Qualcomm WSA8845H firmware caused by improper voice packet processing from ADSP. This post covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-38422 Overview

CVE-2024-38422 is a memory corruption vulnerability affecting a broad range of Qualcomm chipsets. The flaw occurs when the system processes voice packets containing arbitrary data received from the Audio Digital Signal Processor (ADSP). An attacker with local, low-privileged access to an affected device can trigger the condition to corrupt memory in the audio processing path, leading to compromise of confidentiality, integrity, and availability on the device. The vulnerability was disclosed in the Qualcomm November 2024 Security Bulletin and spans hundreds of Snapdragon, FastConnect, WCN, WSA, QCA, and automotive platform firmware images.

Critical Impact

Successful exploitation allows a local attacker to corrupt memory in a privileged audio subsystem, potentially enabling arbitrary code execution or denial of service across hundreds of Qualcomm-based mobile, IoT, and automotive devices.

Affected Products

  • Qualcomm Snapdragon mobile platforms (including Snapdragon 8 Gen 2/3, 888, 865, 855, and legacy 4xx/6xx/7xx series)
  • Qualcomm automotive platforms (SA8155P, SA8255P, SA8295P, SA8540P, SA8650P, SA8775P)
  • Qualcomm connectivity, audio, and IoT firmware (FastConnect 6200/6700/6800/6900/7800, WCD/WCN/WSA series, QCA6xxx, Snapdragon XR, Wear, and Auto 4G/5G Modem platforms)

Discovery Timeline

Technical Details for CVE-2024-38422

Vulnerability Analysis

The weakness is categorized under [CWE-680] (Integer Overflow to Buffer Overflow). The defect lives in the voice packet handling code that consumes data produced by the Audio DSP. When the handler receives arbitrary attacker-influenced data from the ADSP, it performs insufficient validation of size or length fields before using them in subsequent buffer operations.

Because the audio subsystem runs with elevated privileges on the application processor, memory corruption here can be leveraged beyond simple crashes. An attacker able to influence the data path between the ADSP and the voice processing component can trigger an out-of-bounds write and corrupt adjacent memory structures. The attack is local and requires low privileges, with no user interaction needed.

Root Cause

The root cause is improper validation of untrusted size or length values received from the ADSP. Arithmetic operations on these values can overflow and produce a smaller allocation than required, which is then written to with the original larger payload. This mismatch results in a classic integer-overflow-to-buffer-overflow condition in a privileged kernel or firmware context.

Attack Vector

Exploitation requires a local attacker with the ability to interact with the voice or audio processing interfaces exposed to userspace. Typically this means a malicious application installed on the device that can send crafted requests through the audio stack, or compromise of a lower-privileged component that communicates with the ADSP. Successful exploitation does not require user interaction and can compromise sensitive data handled by the audio subsystem, including call content and credentials cached in protected memory regions.

Detection Methods for CVE-2024-38422

Indicators of Compromise

  • Unexpected crashes, kernel panics, or restarts of the audio service (audioserver, cdsprpcd, or vendor audio HAL processes) correlated with voice call activity
  • Anomalous ADSP subsystem restarts (SSR) logged in dmesg or vendor crash dump directories (/data/vendor/ramdump, /sys/class/subsys/adsp/)
  • Installation of untrusted third-party applications requesting RECORD_AUDIO, MODIFY_AUDIO_SETTINGS, or direct access to audio IOCTLs

Detection Strategies

  • Monitor mobile device management (MDM) telemetry for firmware build fingerprints that do not match the November 2024 or later Qualcomm security patch level
  • Baseline normal ADSP restart frequency and alert on deviations that could indicate attempted exploitation
  • Review application behavior analytics for processes making repeated or malformed calls into audio-related system services

Monitoring Recommendations

  • Collect and centralize Android security patch level and vendor patch level from managed endpoints for continuous exposure tracking
  • Correlate audio subsystem crash events with install, update, and permission-grant events for recently installed applications
  • Flag devices running affected Snapdragon, automotive, or IoT firmware that have not received the Qualcomm November 2024 patch bundle

How to Mitigate CVE-2024-38422

Immediate Actions Required

  • Inventory all mobile, IoT, wearable, and automotive assets built on affected Qualcomm chipsets and determine current security patch level
  • Apply the OEM security update that incorporates the Qualcomm November 2024 patches as soon as it is released by the device manufacturer
  • Restrict installation of untrusted applications on affected devices through MDM policies and app store allowlists

Patch Information

Qualcomm addressed the issue in the Qualcomm Security Bulletin November 2024. Patches are distributed to original equipment manufacturers (OEMs) who then integrate them into device firmware updates. End users must wait for and apply the OEM-provided security update that references the November 2024 Qualcomm patch level or later.

Workarounds

  • No vendor-supplied workaround exists; patching is the only complete remediation
  • Limit exposure by removing or disabling untrusted applications with access to audio APIs
  • For automotive and IoT deployments, segregate affected devices on isolated network segments until firmware updates are available
bash
# Verify Android security patch level on managed devices
adb shell getprop ro.build.version.security_patch
adb shell getprop ro.vendor.build.security_patch

# Confirm patch level meets or exceeds the Qualcomm November 2024 bulletin
# Expected: 2024-11-05 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.