ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1237cd9ff198cb882402572f29569e5247190974, Kernel 491956b45b5f4933632ea6d8a8bdfdf045ab81e1, Kernel 59fe643f21b9d59bcbedb0dfbf988ee455c23736 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.4, >=a382082ff74b036944cbc5b6ad29b65f633acd3a <1237cd9ff198cb882402572f29569e5247190974, >=a382082ff74b036944cbc5b6ad29b65f633acd3a <491956b45b5f4933632ea6d8a8bdfdf045ab81e1, >=a382082ff74b036944cbc5b6ad29b65f633acd3a <59fe643f21b9d59bcbedb0dfbf988ee455c23736, >=a382082ff74b036944cbc5b6ad29b65f633acd3a <a653820700b81c9e6f05ac23b7969ecec1a18e85, >=a382082ff74b036944cbc5b6ad29b65f633acd3a <a704a1a4394b5877b9adc31b2c3165ad0b541896 | 1237cd9ff198cb882402572f29569e5247190974, 491956b45b5f4933632ea6d8a8bdfdf045ab81e1, 59fe643f21b9d59bcbedb0dfbf988ee455c23736, a653820700b81c9e6f05ac23b7969ecec1a18e85, a704a1a4394b5877b9adc31b2c3165ad0b541896 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket