ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ee781058cd4d71e4449f41cbe6a3b8c59daa2c51, Kernel 1dc25a3e06364f48c4ef06016852f8b82425151a, Kernel 2a591bf6fd41fd14bdae689aafac4a9ee702c23c and 8 more.
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control In snd_sof_update_control(), firmware-provided cdata->num_elems is checked against local_cdata->data->size but never against the actual allocation size. If local_cdata->data->size was previously set to an inconsistent value, the memcpy could write past the allocated buffer. Add a bounds check to ensure num_elems fits within the available space in the ipc_control_data allocation before copying.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=10f461d79c2d1afb22344986cc1b4631169cf25e <ee781058cd4d71e4449f41cbe6a3b8c59daa2c51, >=10f461d79c2d1afb22344986cc1b4631169cf25e <1dc25a3e06364f48c4ef06016852f8b82425151a, >=10f461d79c2d1afb22344986cc1b4631169cf25e <2a591bf6fd41fd14bdae689aafac4a9ee702c23c, >=10f461d79c2d1afb22344986cc1b4631169cf25e <390aa4c9339bb0ec0bc8d554e830faf93ca9d49e, >=10f461d79c2d1afb22344986cc1b4631169cf25e <d3abaedf6a58469610136d2dace1a85cddf7afcf, >=10f461d79c2d1afb22344986cc1b4631169cf25e <ecf67f1302f2080b4d241b973364aacda70ad740, =5.18 | ee781058cd4d71e4449f41cbe6a3b8c59daa2c51, 1dc25a3e06364f48c4ef06016852f8b82425151a, 2a591bf6fd41fd14bdae689aafac4a9ee702c23c, 390aa4c9339bb0ec0bc8d554e830faf93ca9d49e, d3abaedf6a58469610136d2dace1a85cddf7afcf, ecf67f1302f2080b4d241b973364aacda70ad740 |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.18.0 <6.1.178 | 6.18.40, 7.1.5, 6.6.145, 6.12.97, 6.1.178 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket