CVE-2026-72304

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

Published Aug 15, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel sound subsystem, a TOCTOU race causes the ioctl handler sof_ipc4_bytes_put() to copy buffer data using a stale size field from existing kernel data instead of the size supplied by user space. Because the copy length can be incorrect, the kernel may write beyond the intended bounds, truncating valid data or copying stale bytes. This flaw can corrupt kernel memory, disabling audio services or potentially causing a system crash.

Affected Systems

All Linux kernel releases that expose the ASoC synchronous firmware IPC4 control interface before the documented commit that validates the incoming size field are affected. Kernel versions that do not yet include the patch and still contain the old implementation are therefore vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity, while the EPSS score of <1% suggests exploitation is currently rare. The likely attack vector is local, requiring a user-space process to send IPC4 control messages. If an attacker can repeatedly trigger the race, they could corrupt kernel data, gain a denial of service, or potentially execute arbitrary code if a subsequent vulnerability is triggered. No known public exploit exists, and the vulnerability is not listed in CISA KEV.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest stable Linux kernel release that includes the commit validating the sof_abi_hdr.size field in sof_ipc4_bytes_put.
  • Reboot the system so that the updated kernel and any loaded modules use the corrected code.
  • If patching cannot be performed immediately, consider disabling the IPC4 control interface or limiting its exposure for users that do not require audio subsystem control.

Generated by OpenCVE AI on August 22, 2026 at 09:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-365
Type Values Removed Values Added
Weaknesses CWE-365
Type Values Removed Values Added
Weaknesses CWE-367
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-367
Type Values Removed Values Added
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.
Title ASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-805

    Buffer Access with Incorrect Length Value

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 16, 2026, 6:55 PM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 16, 2026, 7:17 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM