Vulnerability record · AzureLinux 3.0
CVE-2026-139784 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ASoC: qcom: q6apm: clear g_apm on driver removal
The global g_apm pointer is set during apm_probe() but never cleared in apm_remove(). After the driver is removed the devm-managed struct q6apm is freed, leaving g_apm dangling. A subsequent call to q6apm_is_adsp_ready() dereferences the freed pointer.
Clear g_apm in apm_remove() before the component is unregistered so that q6apm_is_adsp_ready() returns false instead of triggering a use-after-free.
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources