CVE-2026-142824: ASoC: qcom: qdsp6: q6afe: fix clk vote response type mismatch
In the Linux kernel, the following vulnerability has been resolved:
ASoC: qcom: qdsp6: q6afe: fix clk vote response type mismatch
The response sent by the firmware when requesting a clock vote (opcode AFECMDRSPREMOTELPASSCOREHWVOTEREQUEST) does not actually have the same opcode + status payload as APRBASICRSPRESULT. Rather, it returns one single u32 which is the clienthandle that must be used in future unvote requests for the same clock.
As a result of this type confusion, the status returned by the callback to q6afevotelpasscorehw was actually an out-of-bounds read. It was only interpreted as success (0) most of the time due to luck, but there are some reports of random errors such as:
[ 20.961100] qcom-q6afe aprsvc:service:4:4: AFE failed to vote (3) [ 20.961131] Failed to prepare clk 'core': -110
Fix by correctly interpreting the response as a single u32, and actually store it as the clienthandle to ensure unvote would work correctly.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel's Qualcomm ASoC qdsp6 q6afe component and requesting LPASS core hardware clock votes are affected. The issue concerns communication with Qualcomm audio firmware during clock vote handling.
What behavior may indicate that a system is affected?
Affected systems may report intermittent clock-vote failures or clock preparation timeouts. Example messages include "AFE failed to vote (3)" and "Failed to prepare clk 'core': -110".
What is the impact beyond the erroneous vote result?
The response type mismatch causes an out-of-bounds read when interpreting the firmware response. It also fails to retain the firmware-provided client handle needed for later clock unvote requests.