CVE-2025-71286
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.18% (higher than 4% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom a382082ff74b036944cbc5b6ad29b65f633acd3a before 59fe643f21b9d59bcbedb0dfbf988ee455c23736, from a382082ff74b036944cbc5b6ad29b65f633acd3a before 491956b45b5f4933632ea6d8a8bdfdf045ab81e1, from a382082ff74b036944cbc5b6ad29b65f633acd3a before a704a1a4394b5877b9adc31b2c3165ad0b541896, from a382082ff74b036944cbc5b6ad29b65f633acd3a before 1237cd9ff198cb882402572f29569e5247190974, from a382082ff74b036944cbc5b6ad29b65f633acd3a before a653820700b81c9e6f05ac23b7969ecec1a18e85, 6.4
Not affected: before 6.4, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.4 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-131

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ASoC: SOF: ipc4-topology: Corregir el tamaño de asignación para controles de bytes El tamaño de los datos detrás de scontrol -> ipc_control_data para controles de bytes es: [1] sizeof(struct sof_ipc4_control_data) + // estructura solo del kernel [2] sizeof(struct sof_abi_hdr)) + carga útil El max_size especifica el tamaño de [2] y proviene de la topología. Cambiar la función para tener esto en cuenta y asignar una cantidad adecuada de memoria detrás de scontrol -> ipc_control_data. Con el cambio, asignaremos una cantidad [1] más de memoria para poder contener el tamaño completo de los datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71286 changed 2026-10-19CVE Terms of Use
NVDCVE-2025-71286 changed 2026-10-19Public domain