CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's ASoC subsystem, specifically in the `sof_ipc3_control_update()` function, where improper size calculations using firmware-provided data can lead to integer overflow on 32-bit platforms. This flaw may result in out-of-bounds access, potentially allowing an attacker to exploit the system. Organizations using affected Linux kernel versions, particularly those deploying audio drivers or related firmware, should prioritize patching to mitigate the risk of exploitation.
Original NVD Description
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.