# CVE-2026-72257: ASoC: qcom: q6apm: fix NULL pointer dereference in graph\_callback

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-08-15T05:54:44.448Z
- **Modified:** 2026-08-17T06:18:28.020Z

## Who should check

- Anyone running Linux \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< a164e744d8de1c41049bd9a1452a4b6bbf5bd8bc; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< ec369eac0795cfa8f4d3a0cd35a1e8e15f780331; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< ca028334343a140efda4b22e53cbce2c5e94a489; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 214af790e3a33ab73587de4c925c60a550eae9c6; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 2e9261761b35f0b67b7487688cd1365f535be0b3
- Anyone running Linux 5.16

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

## Affected and fixed versions

- Linux: \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< a164e744d8de1c41049bd9a1452a4b6bbf5bd8bc; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< ec369eac0795cfa8f4d3a0cd35a1e8e15f780331; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< ca028334343a140efda4b22e53cbce2c5e94a489; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 214af790e3a33ab73587de4c925c60a550eae9c6; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 2e9261761b35f0b67b7487688cd1365f535be0b3 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 2e9261761b35f0b67b7487688cd1365f535be0b3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72257. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72257.md
Affected: Linux >= 5477518b8a0e8a45239646acd80c9bafc4401522, < a164e744d8de1c41049bd9a1452a4b6bbf5bd8bc; >= 5477518b8a0e8a45239646acd80c9bafc4401522, < ec369eac0795cfa8f4d3a0cd35a1e8e15f780331; >= 5477518b8a0e8a45239646acd80c9bafc4401522, < 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3; >= 5477518b8a0e8a45239646a…
Fixed in: Linux 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3, Linux 214af790e3a33ab73587de4c925c60a550eae9c6, Linux 2e9261761b35f0b67b7487688cd1365f535be0b3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72257 being exploited?

There is no confirmed exploitation: CVE-2026-72257 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-72257?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72257?

Linux \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< a164e744d8de1c41049bd9a1452a4b6bbf5bd8bc; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< ec369eac0795cfa8f4d3a0cd35a1e8e15f780331; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< ca028334343a140efda4b22e53cbce2c5e94a489; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 214af790e3a33ab73587de4c925c60a550eae9c6; \>= 5477518b8a0e8a45239646acd80c9bafc4401522, \< 2e9261761b35f0b67b7487688cd1365f535be0b3; Linux 5.16.

### Is there a fix for CVE-2026-72257?

Yes. Fixed in Linux 2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3, Linux 214af790e3a33ab73587de4c925c60a550eae9c6, Linux 2e9261761b35f0b67b7487688cd1365f535be0b3. Upgrade Linux to 2e9261761b35f0b67b7487688cd1365f535be0b3 or later.

### How do I check if I'm affected by CVE-2026-72257?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a164e744d8de1c41049bd9a1452a4b6bbf5bd8bc>
- other: <https://git.kernel.org/stable/c/ec369eac0795cfa8f4d3a0cd35a1e8e15f780331>
- other: <https://git.kernel.org/stable/c/2c715f8a1e644ce4c3e8be5b0fd3f1f4704b73b3>
- other: <https://git.kernel.org/stable/c/ca028334343a140efda4b22e53cbce2c5e94a489>
- other: <https://git.kernel.org/stable/c/214af790e3a33ab73587de4c925c60a550eae9c6>
- other: <https://git.kernel.org/stable/c/2e9261761b35f0b67b7487688cd1365f535be0b3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72257>

HTML: <https://flawdb.com/CVE-2026-72257> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72257>
