What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 6.12.75, 6.18.16, 6.19.6, 6.6.128. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71286 or the next vulnerability affects your stack