ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 1dc25a3e06364f48c4ef06016852f8b82425151a; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in ee781058cd4d71e4449f41cbe6a3b8c59daa2c51; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in ecf67f1302f2080b4d241b973364aacda70ad740; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in d3abaedf6a58469610136d2dace1a85cddf7afcf; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 2a591bf6fd41fd14bdae689aafac4a9ee702c23c; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 390aa4c9339bb0ec0bc8d554e830faf93ca9d49e
- Linux Linux
5.18
- KernelLinux
From 5.18.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5