CVEvulnerability
CVE-2025-71286
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-05-06
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-131
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 configurations
• linux linux kernel (>= 6.4 < 6.6.128)
• linux linux kernel (>= 6.7 < 6.12.75)
• linux linux kernel (>= 6.13 < 6.18.16)
• linux linux kernel (>= 6.19 < 6.19.6)
Related
Weakness · CWE (1)
- CWE-131 Incorrect Calculation of Buffer Size weakness
References
- https://git.kernel.org/stable/c/1237cd9ff198cb882402572f29569e5247190974 Patch
- https://git.kernel.org/stable/c/491956b45b5f4933632ea6d8a8bdfdf045ab81e1 Patch
- https://git.kernel.org/stable/c/59fe643f21b9d59bcbedb0dfbf988ee455c23736 Patch
- https://git.kernel.org/stable/c/a653820700b81c9e6f05ac23b7969ecec1a18e85 Patch
- https://git.kernel.org/stable/c/a704a1a4394b5877b9adc31b2c3165ad0b541896 Patch