firmware: cs_dsp: Fix OOB memory read access in KUnit test
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firmware: cs_dsp: Fix OOB memory read access in KUnit test
KASAN reported out of bounds access - cs_dsp_mock_bin_add_name_or_info(), because the source string length was rounded up to the allocation size.
From the CVE record · Linux
A Linux kernel cs_dsp KUnit test can read beyond allocated memory when it rounds a source string length up to the allocation size. KASAN reported the read in cs_dsp_mock_bin_add_name_or_info(). The input does not describe an attacker path or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernel cs_dsp KUnit tests should check their kernel against the vendor advisory; affected versions were not provided.