diff options
author | Jaroslav Kysela <perex@perex.cz> | 2025-05-23 12:21:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-23 15:03:48 +0100 |
commit | fe6446215bfad11cf3b446f38b28dc7708973c25 (patch) | |
tree | 1056e110d0740b1cba2fbae4a3e3ddd29484e528 /net/switchdev/switchdev.c | |
parent | 7ce3bf76c3adfbfcfa712d5090428f67c97db201 (diff) |
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.
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>
Link: https://patch.msgid.link/20250523102102.1177151-1-perex@perex.cz
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions