Shellfeed logo Shellfeed

CVE-2026-72304 · HIGH (CVSS 7.8)

Summary: ASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put

Details

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.

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [a062c8899fede2ab5660a817e9b602d3fa280a99 – 266f936db83aee6ca6473bbb06259bda52bf4fc3]
  • Linux Kernel [6.4.0 – 6.6.145] [6.7.0 – 6.12.97] [6.13.0 – 6.18.40] [6.19.0 – 7.1.5]

References