CVE-2026-72257

ASoC: qcom: q6apm: fix NULL pointer dereference in graph_callback

No CVSS score yet EPSS 0.21%

Published 15 Aug 2026 Updated 17 Aug 2026 CNA: Linux

Check your servers for CVE-2026-72257

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-72257 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: qcom: q6apm: fix NULL pointer dereference in graph_callback

When q6apm_free_fragments() is called it frees rx_data.buf/tx_data.buf and sets them to NULL under graph->lock. A late DSP buffer-done response can race with this: graph_callback() passes the !graph->ar_graph guard (not yet NULL), acquires the lock, but then dereferences a now-NULL buf pointer to read buf[token].phys, crashing at virtual address 0x10.

Add a NULL check for buf inside the mutex-protected section in both the write-done (DATA_CMD_RSP_WR_SH_MEM_EP_DATA_BUFFER_DONE_V2) and read-done (DATA_CMD_RSP_RD_SH_MEM_EP_DATA_BUFFER_V2) handlers and bail out cleanly if buffers have already been freed.

This problem is only shown up recently while apr bus was updated to process the commands per service rather from single global queue.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before a164e744d8de1c41049bd9a1452a4b6bbf5bd8bc
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before ec369eac0795cfa8f4d3a0cd35a1e8e15f780331
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before ca028334343a140efda4b22e53cbce2c5e94a489
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before 214af790e3a33ab73587de4c925c60a550eae9c6
affected from 5477518b8a0e8a45239646acd80c9bafc4401522, before 2e9261761b35f0b67b7487688cd1365f535be0b3
Other versions: unaffected
Linux
affected 5.16
unaffected before 5.16
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 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-72257 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72257

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-72257
trivy image --scanners vuln IMAGE | grep CVE-2026-72257

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

Source: the record CVE-2026-72257 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.