Re: [PATCH AUTOSEL 6.9 17/40] ASoC: topology: Fix route memory corruption

Greg Kroah-Hartman
2024-08-12T10:25:57Z

On Mon, Aug 12, 2024 at 12:01:48PM +0200, Amadeusz Sławiński wrote:
> I guess that for completeness you need to apply both patches:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/sound/soc/soc-topology.c?id=97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1

This is already in the tree.

> was an incorrect fix which was later fixed by:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/sound/soc/soc-topology.c?id=0298f51652be47b79780833e0b63194e1231fa34

This commit will not apply :(

> Applying just first one will result in runtime problems, while applying just
> second one will result in missing NULL checks on allocation.

The second patch can not apply to the stable trees, so we need a
backported version please.

thanks,

greg k-h