ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls
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.
CVE-2025-71286
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2025-71286
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "a382082ff74b036944cbc5b6ad29b65f633acd3a",
"lessThan": "59fe643f21b9d59bcbedb0dfbf988ee455c23736",
"versionType": "git"
},
{
"status": "affected",
"version": "a382082ff74b036944cbc5b6ad29b65f633acd3a",
"lessThan": "491956b45b5f4933632ea6d8a8bdfdf045ab81e1",
"versionType": "git"
},
{
"status": "affected",
"version": "a382082ff74b036944cbc5b6ad29b65f633acd3a",
"lessThan": "a704a1a4394b5877b9adc31b2c3165ad0b541896",
"versionType": "git"
},
{
"status": "affected",
"version": "a382082ff74b036944cbc5b6ad29b65f633acd3a",
"lessThan": "1237cd9ff198cb882402572f29569e5247190974",
"versionType": "git"
},
{
"status": "affected",
"version": "a382082ff74b036944cbc5b6ad29b65f633acd3a",
"lessThan": "a653820700b81c9e6f05ac23b7969ecec1a18e85",
"versionType": "git"
}
],
"programFiles": [
"sound/soc/sof/ipc4-topology.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.128",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.75",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.16",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.6",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"sound/soc/sof/ipc4-topology.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2025-71286
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #39679 · Revision 1
- Added to Heist Feed
- Publisher date