Skip to main content
Vulnerability Database/CVE-2026-97407

CVE-2026-97407: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97407 is a privilege escalation flaw in the Linux kernel ASoC rockchip_pdm driver that could allow unauthorized access. This post explains its technical details, affected versions, and mitigation steps.

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-2026-97407 Overview

CVE-2026-97407 is a Linux kernel vulnerability in the ASoC (ALSA System on Chip) Rockchip Pulse Density Modulation (PDM) driver. The flaw resides in the rockchip_pdm_set_fmt() function, which calls pm_runtime_get_sync() before accessing hardware registers but ignores the return value. When runtime power management (PM) resume fails, the function continues to perform register accesses while the device state is undefined, potentially leading to unpowered register accesses and undefined behavior.

Critical Impact

Unpowered register access in the Rockchip PDM audio driver can cause device state corruption, kernel instability, or denial-of-service conditions on affected ARM-based systems using Rockchip SoCs.

Affected Products

  • Linux kernel versions containing the rockchip_pdm ASoC driver prior to the fix commits
  • Systems using Rockchip SoCs with PDM audio capture support
  • Downstream distributions shipping affected kernel versions

Discovery Timeline

  • 2026-09-24 - CVE-2026-97407 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97407

Vulnerability Analysis

The vulnerability exists in the rockchip_pdm_set_fmt() function within the Rockchip PDM ASoC driver. This function configures the audio format for the PDM interface and must access memory-mapped hardware registers to apply the configuration. Before touching those registers, the function invokes pm_runtime_get_sync() to ensure the device is powered and clocks are enabled.

The defect is that the return value from pm_runtime_get_sync() is discarded. If the runtime resume operation fails due to clock gating issues, power domain errors, or regulator failures, the function proceeds to read and write hardware registers against a device whose state is undefined. This can produce incorrect audio configuration, bus errors, or kernel log noise, and may leave the PM reference counter in an inconsistent state.

Root Cause

The root cause is improper error handling of a runtime PM API call. pm_runtime_get_sync() can return a negative error value while still incrementing the usage counter, which requires callers to either check the return value and release the reference on failure, or use the safer pm_runtime_resume_and_get() helper that automatically balances the counter when resume fails.

Attack Vector

Triggering the condition requires local access to a system with the affected driver loaded and an active audio capture path using the Rockchip PDM controller. An attacker or faulty user space component invoking ALSA format-setting operations under conditions that cause runtime PM resume to fail can induce the unsafe register access. The vulnerability is not remotely exploitable and requires the Rockchip PDM hardware to be present. See the upstream fix commits for implementation detail: Kernel Git Commit a9cc27a, Kernel Git Commit b2b5c2c, and Kernel Git Commit ee7b5f7.

Detection Methods for CVE-2026-97407

Indicators of Compromise

  • Kernel log entries reporting runtime PM resume failures associated with the rockchip_pdm driver
  • Repeated ALSA format configuration errors or unexpected audio subsystem warnings on Rockchip SoC platforms
  • Imbalanced runtime PM usage counters visible under /sys/devices/.../power/runtime_usage

Detection Strategies

  • Enumerate loaded kernel modules and compare the running kernel version against the fix commits referenced in the upstream advisory
  • Review dmesg output and persistent kernel logs for PDM driver warnings, resume failures, or register access faults
  • Monitor audio subsystem health on fleet devices using Rockchip SoCs through centralized logging

Monitoring Recommendations

  • Forward kernel ring buffer and journald logs from embedded and ARM-based Linux endpoints to a central analytics platform
  • Alert on sudden spikes in pm_runtime or ASoC-related kernel warnings across managed devices
  • Track kernel build versions across the fleet to confirm patch coverage on affected hardware

How to Mitigate CVE-2026-97407

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the CVE record as soon as vendor builds are available
  • Inventory devices running Rockchip SoCs with PDM audio enabled and prioritize them for update
  • Disable the rockchip_pdm module on systems where PDM audio capture is not required until patched

Patch Information

The fix replaces pm_runtime_get_sync() with pm_runtime_resume_and_get() in rockchip_pdm_set_fmt() and returns early on failure, preventing register access when the device cannot be resumed. The corrected code paths are available in the upstream commits a9cc27a, b2b5c2c, and ee7b5f7. Deploy distribution kernel updates once backports are published by your Linux vendor.

Workarounds

  • Unload the snd_soc_rockchip_pdm module on systems that do not require PDM microphone input
  • Restrict local access to audio device nodes under /dev/snd/ using appropriate udev rules and group permissions
  • Validate power domain and clock configurations in device tree overlays to reduce the likelihood of runtime PM resume failures

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.