CVE-2026-72304

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

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a062c8899fede2ab5660a817e9b602d3fa280a99 to before 266f936db83aee6ca6473bbb06259bda52bf4fc3Affected
  • a062c8899fede2ab5660a817e9b602d3fa280a99 to before 4cf6a7ebbf8787393b158b2cc341723e5bebc4a8Affected
  • a062c8899fede2ab5660a817e9b602d3fa280a99 to before fb4293173db2d474d8fbc0e5ecf4943e6df2b40eAffected
  • a062c8899fede2ab5660a817e9b602d3fa280a99 to before 038406abde0d0883419ec89425ea941ec8bbef95Affected
  • a062c8899fede2ab5660a817e9b602d3fa280a99 to before 3ad673e7139cf214afd24321a829aad6575f4163Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.