CVE-2025-71286

ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls

State
Published
Severity
7.8 High
Published
May 6, 2026
Updated
Oct 19, 2026
Reserved
May 6, 2026

Read the record on cve.org

Description

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

ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls

The size of the data behind of scontrol->ipc_control_data for bytes controls is: [1] sizeof(struct sof_ipc4_control_data) + // kernel only struct [2] sizeof(struct sof_abi_hdr)) + payload

The max_size specifies the size of [2] and it is coming from topology.

Change the function to take this into account and allocate adequate amount of memory behind scontrol->ipc_control_data.

With the change we will allocate [1] amount more memory to be able to hold the full size of data.

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

  • CWE-131 Incorrect Calculation of Buffer Size

Affected Products

ProductVersions
LinuxLinux
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to before 59fe643f21b9d59bcbedb0dfbf988ee455c23736Affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to before 491956b45b5f4933632ea6d8a8bdfdf045ab81e1Affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to before a704a1a4394b5877b9adc31b2c3165ad0b541896Affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to before 1237cd9ff198cb882402572f29569e5247190974Affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to before a653820700b81c9e6f05ac23b7969ecec1a18e85Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 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.