ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1dc25a3e06364f48c4ef06016852f8b82425151ahttps://git.kernel.org/stable/c/2a591bf6fd41fd14bdae689aafac4a9ee702c23chttps://git.kernel.org/stable/c/390aa4c9339bb0ec0bc8d554e830faf93ca9d49ehttps://git.kernel.org/stable/c/d3abaedf6a58469610136d2dace1a85cddf7afcfhttps://git.kernel.org/stable/c/ecf67f1302f2080b4d241b973364aacda70ad740https://git.kernel.org/stable/c/ee781058cd4d71e4449f41cbe6a3b8c59daa2c51