ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc
- 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: Use overflow checks in control_update size calc In sof_ipc3_control_update(), the expected_size calculation uses firmware-provided cdata->num_elems in arithmetic that could overflow on 32-bit platforms, wrapping to a small value. This would allow the cdata->rhdr.hdr.size comparison to pass with mismatched sizes, potentially leading to out-of-bounds access in snd_sof_update_control. Use check_mul_overflow() and check_add_overflow() to detect and reject overflowed size calculations.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 6856b3c23b0995eefad5a6142b4365ef70e1fe4a; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 89a2309a9eec80d4c19e3aed62c4f923594d1911; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 711d912b18763af62a63aa8f2419a774eb63bba4; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 312c7d2ebe696da3f885eee77d52297664e57c53; From 10f461d79c2d1afb22344986cc1b4631169cf25e · fixed in 8791977d7289f6e9d2b014f60a5455f053a7bc04
- 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