[PATCH v2] ASoC: amd: acp: Fix possible UAF in acp_dma_open
Mark Brown
broonie at kernel.org
Fri Nov 18 15:04:29 CET 2022
On Fri, 18 Nov 2022 11:00:56 +0800, Gaosheng Cui wrote:
> Smatch report warning as follows:
>
> sound/soc/amd/acp/acp-platform.c:199 acp_dma_open() warn:
> '&stream->list' not removed from list
>
> If snd_pcm_hw_constraint_integer() fails in acp_dma_open(),
> stream will be freed, but stream->list will not be removed from
> adata->stream_list, then list traversal may cause UAF.
>
> [...]
Applied to
broonie/sound.git for-next
Thanks!
[1/1] ASoC: amd: acp: Fix possible UAF in acp_dma_open
commit: 3420fdb8ae99f0a08d78d2b80f42a71971cf478d
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
More information about the Alsa-devel
mailing list