diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-07-12 15:23:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-12 15:45:03 +0300 |
commit | 1549a69b89b7e5b1b830da897529344766728a4b (patch) | |
tree | 67d24df221149b601b981b8077a98676e7bd51c0 /tools/perf/scripts/python/flamegraph.py | |
parent | 499cc881b09c8283ab5e75b0d6d21cb427722161 (diff) | |
download | linux-1549a69b89b7e5b1b830da897529344766728a4b.tar.xz |
ASoC: SOF: Intel: mtl: Do not process IPC reply before firmware boot
It is not yet clear, but it is possible to create a firmware so broken
that it will send a reply message before a FW_READY message (it is not
yet clear if FW_READY will arrive later).
Since the reply_data is allocated only after the FW_READY message, this
will lead to a NULL pointer dereference if not filtered out.
Reported-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220712122357.31282-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions