linux/sound/soc/intel
Cezary Rojewski 18ff538aac ASoC: Intel: avs: Verify content returned by parse_int_array()
[ Upstream commit 93e246b676 ]

The first element of the returned array stores its length. If it is 0,
any manipulation beyond the element at index 0 ends with null-ptr-deref.

Fixes: 5a565ba23a ("ASoC: Intel: avs: Probing and firmware tracing over debugfs")
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250530141025.2942936-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-06-19 15:32:20 +02:00
..
atom ASoC: Intel: sst: Fix used of uninitialized ctx to log an error 2024-10-28 16:44:52 +00:00
avs ASoC: Intel: avs: Verify content returned by parse_int_array() 2025-06-19 15:32:20 +02:00
boards ASoC: Intel: bytcr_rt5640: Add DMI quirk for Acer Aspire SW3-013 2025-05-29 11:03:10 +02:00
catpt ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
common ASoC: Intel: adl: add 2xrt1316 audio configuration 2025-04-20 10:15:04 +02:00
keembay ASoC: intel: fix module autoloading 2024-08-26 15:52:06 +01:00
Kconfig ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00
Makefile ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00