All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-71286

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel, specifically within the Advanced Linux Sound Architecture (ALSA) Sound Open Firmware (SOF) ipc4-topology component. An incorrect calculation of memory allocation size for bytes controls can occur. This memory allocation error could lead to memory corruption, potentially allowing a local attacker to cause a denial of service, leading to system instability or a crash.