VYPR
Unrated severityNVD Advisory· Published Nov 30, 2026

CVE-2026-139784

CVE-2026-139784

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

1

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.