CVE-2026-139784
ASoC: qcom: q6apm: clear g_apm on driver removal
Check your servers for CVE-2026-139784
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139784 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 29.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before d8b1b4641ab94f11c242d607ce0eb50c690ae35f affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before 2b81ec95d370c1c29cad60d3bc0a6df0783177cb affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before 7287dcff7fc65900bee9725d393bfc72f65c26ce affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before fdf83caaf9661d9e88c75cad2cbc41af3286108f affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before 1b289b08de93766bfc3dac37ecfad5ddc0fc97eb affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before be2172758f2b7c801ae80b9c8d1510b31eeffdaa
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139784 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139784
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139784
trivy image --scanners vuln IMAGE | grep CVE-2026-139784
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d8b1b4641ab94f11c242d607ce0eb50c690ae35f git.kernel.org
- https://git.kernel.org/stable/c/2b81ec95d370c1c29cad60d3bc0a6df0783177cb git.kernel.org
- https://git.kernel.org/stable/c/7287dcff7fc65900bee9725d393bfc72f65c26ce git.kernel.org
- https://git.kernel.org/stable/c/fdf83caaf9661d9e88c75cad2cbc41af3286108f git.kernel.org
- https://git.kernel.org/stable/c/1b289b08de93766bfc3dac37ecfad5ddc0fc97eb git.kernel.org
- https://git.kernel.org/stable/c/be2172758f2b7c801ae80b9c8d1510b31eeffdaa git.kernel.org
Source: the record CVE-2026-139784 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse