Linux Kernel ACP3X RT5682 MAX9836 Clock Acquisition Error Check Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's ACP3X RT5682 MAX9836 audio driver. The issue arises because the 'acp3x_5682_init()' function fails to verify the return value of 'clk_get()', potentially leading to the dereferencing of error pointers in 'rt5682_clk_enable()'. This vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability could cause a null pointer dereference, leading to a crash or undefined behavior in the audio driver.

Reproduction

To reproduce this vulnerability, load the ACP3X RT5682 MAX9836 audio driver without the error checks for clock acquisition. The driver will attempt to use clock resources without confirming their availability, which can result in dereferencing invalid pointers.

Remediation

The vulnerability has been addressed by modifying the driver to use 'devm_clk_get()', a device-managed function that automatically handles clock resource management. Additionally, proper error checks have been implemented for both clock acquisitions.

Added: May 13, 2026, 5:35 PM
Updated: May 13, 2026, 5:35 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
8.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.