Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2025-71286

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a382082ff74b036944cbc5b6ad29b65f633acd3a to < 59fe643f21b9d59bcbedb0dfbf988ee455c23736affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to < 491956b45b5f4933632ea6d8a8bdfdf045ab81e1affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to < a704a1a4394b5877b9adc31b2c3165ad0b541896affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to < 1237cd9ff198cb882402572f29569e5247190974affected
  • a382082ff74b036944cbc5b6ad29b65f633acd3a to < a653820700b81c9e6f05ac23b7969ecec1a18e85affected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.6.128 to ≤ 6.6.*unaffected
  • 6.12.75 to ≤ 6.12.*unaffected
  • 6.18.16 to ≤ 6.18.*unaffected
  • 6.19.6 to ≤ 6.19.*unaffected
  • 7.0 to ≤ *unaffected

References