ASoC: qcom: q6apm: clear g_apm on driver removal

Summary

CVECVE-2026-139784
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:11 UTC
Updated2026-11-30 14:20:11 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 5477518b8a0e8a45239646acd80c9bafc4401522 d8b1b4641ab94f11c242d607ce0eb50c690ae35f git Not specified
CNA Linux Linux affected 5477518b8a0e8a45239646acd80c9bafc4401522 2b81ec95d370c1c29cad60d3bc0a6df0783177cb git Not specified
CNA Linux Linux affected 5477518b8a0e8a45239646acd80c9bafc4401522 7287dcff7fc65900bee9725d393bfc72f65c26ce git Not specified
CNA Linux Linux affected 5477518b8a0e8a45239646acd80c9bafc4401522 fdf83caaf9661d9e88c75cad2cbc41af3286108f git Not specified
CNA Linux Linux affected 5477518b8a0e8a45239646acd80c9bafc4401522 1b289b08de93766bfc3dac37ecfad5ddc0fc97eb git Not specified
CNA Linux Linux affected 5477518b8a0e8a45239646acd80c9bafc4401522 be2172758f2b7c801ae80b9c8d1510b31eeffdaa git Not specified
CNA Linux Linux affected 5.16 Not specified
CNA Linux Linux unaffected 5.16 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/2b81ec95d370c1c29cad60d3bc0a6df0783177cb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fdf83caaf9661d9e88c75cad2cbc41af3286108f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7287dcff7fc65900bee9725d393bfc72f65c26ce 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1b289b08de93766bfc3dac37ecfad5ddc0fc97eb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d8b1b4641ab94f11c242d607ce0eb50c690ae35f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/be2172758f2b7c801ae80b9c8d1510b31eeffdaa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report