{"id":"CVE-2025-71286","revision":"85250e02ff0e46da889836d111ea3a6d","records":[{"revision":"85250e02ff0e46da889836d111ea3a6d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-71286","aliases":[],"title":"ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls\n\nThe size of the data behind of scontrol->ipc_control_data for bytes\ncontrols is:\n[1] sizeof(struct sof_ipc4_control_data) + // kernel only struct\n[2] sizeof(struct sof_abi_hdr)) + payload\n\nThe max_size specifies the size of [2] and it is coming from topology.\n\nChange the function to take this into account and allocate adequate amount\nof memory behind scontrol->ipc_control_data.\n\nWith the change we will allocate [1] amount more memory to be able to hold\nthe full size of data.","state":0,"publishedAt":"2026-05-06T11:32:19.468+00:00","modifiedAt":"2026-10-19T18:25:25.461+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/sof/ipc4-topology.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"a382082ff74b036944cbc5b6ad29b65f633acd3a\",\n                            \"lessThan\": \"59fe643f21b9d59bcbedb0dfbf988ee455c23736\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"a382082ff74b036944cbc5b6ad29b65f633acd3a\",\n                            \"lessThan\": \"491956b45b5f4933632ea6d8a8bdfdf045ab81e1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"a382082ff74b036944cbc5b6ad29b65f633acd3a\",\n                            \"lessThan\": \"a704a1a4394b5877b9adc31b2c3165ad0b541896\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"a382082ff74b036944cbc5b6ad29b65f633acd3a\",\n                            \"lessThan\": \"1237cd9ff198cb882402572f29569e5247190974\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"a382082ff74b036944cbc5b6ad29b65f633acd3a\",\n                            \"lessThan\": \"a653820700b81c9e6f05ac23b7969ecec1a18e85\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/sof/ipc4-topology.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.128\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.75\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.16\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.19.6\",\n                            \"lessThanOrEqual\": \"6.19.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/59fe643f21b9d59bcbedb0dfbf988ee455c23736","https://git.kernel.org/stable/c/491956b45b5f4933632ea6d8a8bdfdf045ab81e1","https://git.kernel.org/stable/c/a704a1a4394b5877b9adc31b2c3165ad0b541896","https://git.kernel.org/stable/c/1237cd9ff198cb882402572f29569e5247190974","https://git.kernel.org/stable/c/a653820700b81c9e6f05ac23b7969ecec1a18e85"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-71286","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-71286","identifiers":["CVE-2025-71286"]},"retained":false,"historicalAffected":[]}],"coverage":[]}