1. Home
  2. Vulnerabilities
  3. CVE-2026-72301

CVE-2026-72301

ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get

Published 15 Aug 2026 · modified 16 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 33/100

Summary

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.

Affected products and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.18 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1286)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1333)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1335)
  5. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
  6. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1432)
  7. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1535)
  8. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1537)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)

How this data is obtained and calculated