[PATCH 04/12] ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types
Mark Brown
broonie at kernel.org
Wed Sep 15 15:00:42 CEST 2021
On Wed, Sep 15, 2021 at 03:21:08PM +0300, Peter Ujfalusi wrote:
> i.MX8 only uses SOF_FW_BLK_TYPE_IRAM (1) and SOF_FW_BLK_TYPE_SRAM (3)
> bars, everything else is left as 0 in sdev->bar[] array.
>
> If a broken or purposefully crafted firmware image is loaded with other
> types of FW_BLK_TYPE then a kernel crash can be triggered.
This is a fix which should have been at the start of the series.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210915/496deb81/attachment-0001.sig>
More information about the Alsa-devel
mailing list