{"id":"CVE-2026-139784","aliases":["CVE-2026-139784"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: qcom: q6apm: clear g_apm on driver removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: q6apm: clear g_apm on driver removal\n\nThe global g_apm pointer is set during apm_probe() but never cleared\nin apm_remove(). After the driver is removed the devm-managed struct\nq6apm is freed, leaving g_apm dangling. A subsequent call to\nq6apm_is_adsp_ready() dereferences the freed pointer.\n\nClear g_apm in apm_remove() before the component is unregistered so\nthat q6apm_is_adsp_ready() returns false instead of triggering a\nuse-after-free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: q6apm: clear g_apm on driver removal\n\nThe global g_apm pointer is set during apm_probe() but never cleared\nin apm_remove(). After the driver is removed the devm-managed struct\nq6apm is freed, leaving g_apm dangling. A subsequent call to\nq6apm_is_adsp_ready() dereferences the freed pointer.\n\nClear g_apm in apm_remove() before the component is unregistered so\nthat q6apm_is_adsp_ready() returns false instead of triggering a\nuse-after-free.","source":"cvelist"}],"published":"2026-11-30T13:37:58.319Z","modified":"2026-11-30T14:20:11.803Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5477518b8a0e8a45239646acd80c9bafc4401522","fixed":"d8b1b4641ab94f11c242d607ce0eb50c690ae35f","status":"affected"},{"type":"git","introduced":"5477518b8a0e8a45239646acd80c9bafc4401522","fixed":"2b81ec95d370c1c29cad60d3bc0a6df0783177cb","status":"affected"},{"type":"git","introduced":"5477518b8a0e8a45239646acd80c9bafc4401522","fixed":"7287dcff7fc65900bee9725d393bfc72f65c26ce","status":"affected"},{"type":"git","introduced":"5477518b8a0e8a45239646acd80c9bafc4401522","fixed":"fdf83caaf9661d9e88c75cad2cbc41af3286108f","status":"affected"},{"type":"git","introduced":"5477518b8a0e8a45239646acd80c9bafc4401522","fixed":"1b289b08de93766bfc3dac37ecfad5ddc0fc97eb","status":"affected"},{"type":"git","introduced":"5477518b8a0e8a45239646acd80c9bafc4401522","fixed":"be2172758f2b7c801ae80b9c8d1510b31eeffdaa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d8b1b4641ab94f11c242d607ce0eb50c690ae35f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b81ec95d370c1c29cad60d3bc0a6df0783177cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7287dcff7fc65900bee9725d393bfc72f65c26ce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fdf83caaf9661d9e88c75cad2cbc41af3286108f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b289b08de93766bfc3dac37ecfad5ddc0fc97eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be2172758f2b7c801ae80b9c8d1510b31eeffdaa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139784","url":"https://www.cve.org/CVERecord?id=CVE-2026-139784","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:58.319Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139784","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139784","licence":"Public domain","modified":"2026-11-30T14:20:11.803Z"}],"updatedAt":"2026-11-30T14:33:20.998Z","epss":{"score":0.00337,"percentile":0.29071,"date":"2026-12-01T12:00:22.000Z"}}