0.0
NA
CVE-2026-139784
ASoC: qcom: q6apm: clear g_apm on driver removal
Description

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.

INFO

Published Date :

Nov. 30, 2026, 2:20 p.m.

Last Modified :

Nov. 30, 2026, 2:20 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139784 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Clear the global pointer in the driver removal function to prevent use-after-free.
  • Clear g_apm in apm_remove() before unregistering the component.
  • Ensure the driver removal function clears the dangling pointer.
  • Update the Linux kernel ASoC: qcom driver.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139784 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139784 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139784 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139784 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139784.json">CVE-2026-139784</a>
    Added Reference https://git.kernel.org/stable/c/1b289b08de93766bfc3dac37ecfad5ddc0fc97eb
    Added Reference https://git.kernel.org/stable/c/2b81ec95d370c1c29cad60d3bc0a6df0783177cb
    Added Reference https://git.kernel.org/stable/c/7287dcff7fc65900bee9725d393bfc72f65c26ce
    Added Reference https://git.kernel.org/stable/c/be2172758f2b7c801ae80b9c8d1510b31eeffdaa
    Added Reference https://git.kernel.org/stable/c/d8b1b4641ab94f11c242d607ce0eb50c690ae35f
    Added Reference https://git.kernel.org/stable/c/fdf83caaf9661d9e88c75cad2cbc41af3286108f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.