diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2026-09-10 18:50:02 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-17 12:48:20 +0100 |
| commit | db2167f2e3f72db64d01356cc9f2924d32fd5a51 (patch) | |
| tree | f7b229b77399ab22b62a16b740da1cdbd9a4176a /tools/perf/scripts/python/task-analyzer.py | |
| parent | e419e9a6cbfe1d0947dd5ab8dabe9a5ed4b4f572 (diff) | |
ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering
Call free_irq() before amd_sof_sdw_exit() in amd_sof_acp_remove().
amd_sof_sdw_exit() sets adata->sdw to NULL; if an IRQ fires between
that point and the subsequent free_irq(), acp_irq_handler() may
dereference the now-NULL pdev[] pointer, causing a use-after-free.
Fixes: d948218424bf ("ASoC: SOF: amd: add code for invoking soundwire manager helper functions")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20260910132251.1171943-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
