mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() KASAN reported out of bounds access - cs_dsp_ctl_cache_init_multiple_offsets(). The code uses mock_coeff_template.length_bytes (4 bytes) for register value allocations. But later, this length is set to 8 bytes which causes test code failures. As fix, just remove the lenght override, keeping the original value 4 for all operations. Cc: Simon Trimmer <simont@opensource.cirrus.com> Cc: Charles Keepax <ckeepax@opensource.cirrus.com> Cc: Richard Fitzgerald <rf@opensource.cirrus.com> Cc: patches@opensource.cirrus.com Cc: stable@vger.kernel.org Signed-off-by: Jaroslav Kysela <perex@perex.cz> Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20250523154151.1252585-1-perex@perex.cz Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
cs_dsp_mock_bin.c | ||
cs_dsp_mock_mem_maps.c | ||
cs_dsp_mock_regmap.c | ||
cs_dsp_mock_utils.c | ||
cs_dsp_mock_wmfw.c | ||
cs_dsp_test_bin.c | ||
cs_dsp_test_bin_error.c | ||
cs_dsp_test_callbacks.c | ||
cs_dsp_test_control_cache.c | ||
cs_dsp_test_control_parse.c | ||
cs_dsp_test_control_rw.c | ||
cs_dsp_test_wmfw.c | ||
cs_dsp_test_wmfw_error.c | ||
cs_dsp_tests.c | ||
Makefile |