VDB

CVE-2026-72257

CVE-2026-72257 PUBLISHED

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

Reported by linux · Published August 15, 2026

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.

EPSS 0.22% · 11.9th percentile

Risk scores

EPSS Score
0.22%
11.9th percentile

Affected products

VendorProductVersions
LinuxLinux5477518b8a0e8a45239646acd80c9bafc4401522, 5477518b8a0e8a45239646acd80c9bafc4401522, 5477518b8a0e8a45239646acd80c9bafc4401522
LinuxLinux5.16, 0, 6.1.178
linuxlinux_kernel5.16, 5.16, 5.16
LinuxLinux5477518b8a0e8a45239646acd80c9bafc4401522, 5477518b8a0e8a45239646acd80c9bafc4401522, 5477518b8a0e8a45239646acd80c9bafc4401522

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (17 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72257
vulnetix vdb fixes CVE-2026-72257

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72257/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›