CVE-2026-139784

Source
https://cve.org/CVERecord?id=CVE-2026-139784
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139784.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139784
Downstream
Published
2026-11-30T13:37:58Z
Modified
2026-11-30T15:02:31Z
Summary
ASoC: qcom: q6apm: clear g_apm on driver removal
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139784.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5477518b8a0e8a45239646acd80c9bafc4401522
Fixed
d8b1b4641ab94f11c242d607ce0eb50c690ae35f
Fixed
2b81ec95d370c1c29cad60d3bc0a6df0783177cb
Fixed
7287dcff7fc65900bee9725d393bfc72f65c26ce
Fixed
fdf83caaf9661d9e88c75cad2cbc41af3286108f
Fixed
1b289b08de93766bfc3dac37ecfad5ddc0fc97eb
Fixed
be2172758f2b7c801ae80b9c8d1510b31eeffdaa

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139784.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139784.json"