diff options
| author | 2026-09-10 18:50:02 +0530 | |
|---|---|---|
| committer | 2026-09-17 12:48:20 +0100 | |
| commit | db2167f2e3f72db64d01356cc9f2924d32fd5a51 (patch) | |
| tree | f7b229b77399ab22b62a16b740da1cdbd9a4176a /scripts/Makefile.thinlto | |
| parent | ASoC: SOF: amd: return -EINVAL for unknown PCI revision in acp7x suspend (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
