linux/drivers/firmware/imx
Hao Ge 1558b1a8dd firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
dsp_chan->name and chan_name points to same block of memory,
because dev_err still needs to be used it,so we need free
it's memory after use to avoid use_after_free.

Fixes: e527adfb9b ("firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()")
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-10-10 10:30:29 +08:00
..
imx-dsp.c firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels() 2023-10-10 10:30:29 +08:00
imx-scu-irq.c ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
imx-scu-soc.c firmware: imx: scu: use soc name for soc_id 2023-08-11 22:13:58 +08:00
imx-scu.c ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
Kconfig firmware: imx: select SOC_BUS to fix firmware build 2021-01-18 15:49:07 +08:00
Makefile genpd: imx: relocate scu-pd under genpd 2023-08-17 11:33:54 +02:00
misc.c firmware: imx: Align imx_sc_msg_req_cpu_start to 4 2020-02-24 15:27:48 +08:00
rm.c firmware: imx: add get resource owner api 2022-02-12 14:07:36 +08:00