15 Sep
2021
15 Sep
'21
3:10 p.m.
On 15/09/2021 16:00, Mark Brown wrote:
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.
The same is true for the next patch for imx8m, I'll move it ahead in the v2.
--
Péter