Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get

The ipc_control_data buffer is allocated as kzalloc(max_size), where
max_size covers the entire struct sof_ipc_ctrl_data including its
flexible array payload. However, the bounds checks in bytes_ext_put
and _bytes_ext_get compared user data lengths against max_size
directly, ignoring that cdata->data sits at an offset of
sizeof(struct sof_ipc_ctrl_data) bytes into the allocation.

This allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past
the end of the heap buffer from unprivileged userspace via the ALSA TLV
kcontrol interface, and similarly allowed over-reading adjacent heap
data on the get path.

Fix all bounds checks to subtract sizeof(*cdata) from max_size so they
reflect the actual space available at the cdata->data offset. Also fix
the error-path restore in bytes_ext_put which wrote to cdata->data
instead of cdata, causing the same overflow.
Published: 2026-08-15
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap overflow in the Linux kernel ASoC SOF ipc3-control module allows an unprivileged local user to write beyond the bounds of a kernel buffer allocated for ACP control data. The device driver uses the ALSA TLV kcontrol interface, which provides a write entry point to the vulnerable bytes_ext_put routine; the bounds check mistakenly compares the input length to the total allocation size instead of the payload area, allowing up to the size of the control structure past the allocated memory. This overflow can corrupt arbitrary kernel memory, potentially enabling code execution or crash of the kernel, and the complementary get routine allows over‑reading of adjacent heap data. The vulnerability exposes full kernel memory and has the potential to be leveraged for privilege escalation.

Affected Systems

The flaw exists in the Linux kernel, affecting all versions where the ASoC SOF ipc3-control code has not yet been patched. The issue is triggered through the ALSA TLV kcontrol interface on systems configured with a compatible ASoC hardware controller. No specific vendor or product version list is supplied; any unpatched kernel will be susceptible.

Risk and Exploitability

Because the vulnerability requires only a local user process with access to the ALSA control interface and can overwrite kernel memory, the exploitation risk is high. No EPSS score is available and the issue is not listed in the CISA KEV catalog, but the nature of a heap overflow with control over data placement makes it a serious local privilege escalation vector. The attack is likely to be carried out by abusing the TLV control path to inject code or data into the kernel.

Generated by OpenCVE AI on August 15, 2026 at 10:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the official fix for the heap overflow in the sof_ipc_ctrl_data buffer.
  • Disable or restrict access to the ALSA TLV kcontrol interface if kernel upgrading is not yet possible, for example by removing the control from the kernel module configuration or by applying SELinux/AppArmor confinement.
  • Implement kernel hardening measures such as page‑protection or stack‑canaries, and enable integrity‑checking tools to detect unexpected memory corruption.

Generated by OpenCVE AI on August 15, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get The ipc_control_data buffer is allocated as kzalloc(max_size), where max_size covers the entire struct sof_ipc_ctrl_data including its flexible array payload. However, the bounds checks in bytes_ext_put and _bytes_ext_get compared user data lengths against max_size directly, ignoring that cdata->data sits at an offset of sizeof(struct sof_ipc_ctrl_data) bytes into the allocation. This allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past the end of the heap buffer from unprivileged userspace via the ALSA TLV kcontrol interface, and similarly allowed over-reading adjacent heap data on the get path. Fix all bounds checks to subtract sizeof(*cdata) from max_size so they reflect the actual space available at the cdata->data offset. Also fix the error-path restore in bytes_ext_put which wrote to cdata->data instead of cdata, causing the same overflow.
Title ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:54:49.635Z

Reserved: 2026-08-09T03:40:39.915Z

Link: CVE-2026-72262

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:54.443

Modified: 2026-08-15T06:21:54.443

Link: CVE-2026-72262

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T10:15:03Z

Weaknesses

No weakness.