[PATCH] ASoC: soc-pcm: fix fe and be race when accessing substream->runtime
Eugeniu Rosca
erosca at de.adit-jv.com
Tue Sep 27 13:56:19 CEST 2022
Hello Amadeusz,
On Di, Sep 27, 2022 at 09:34:49 +0200, Amadeusz Sławiński wrote:
> On 9/26/2022 6:35 PM, Eugeniu Rosca wrote:
> >From: xiao jin <jin.xiao at intel.com>
> >
> >After start of fe and be, fe might go to close without triggering
> >STOP, and substream->runtime is freed. However, be is still at
> >START state and its substream->runtime still points to the
> >freed runtime.
> >
>
> Well if it is being freed, maybe pointer should be set to NULL instead in
> place that happens?
>
As soon as the agreement is reached that the patch is still
relevant/useful on the latest vanilla, I think this review
finding will receive proper attention.
Thanks,
Eugeniu
More information about the Alsa-devel
mailing list