Re: [PATCH] ALSA: emux: Skip events until fully initialized
From: Takashi Iwai
Date: Tue Oct 20 2026 - 09:26:47 EST
On Fri, 16 Oct 2026 18:19:52 +0200,
Takashi Iwai wrote:
>
> The emux synth creates a sequencer port and then continues
> initializing the port attributes. It allows the port receiving
> already input events even though the synth stuff hasn't been fully
> initialized. Similarly, upon the releasing, it clears up the voices,
> etc, then detaches the port. This may leave some pending voices
> before the detaching.
>
> For addressing such races, introduce a simple guard to skip the event
> processing in the premature or teardown phases.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Reported-by: Sashiko <sashiko-bot@xxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
This doesn't look covering the issue enough, and I created a different
fix for emux synth, so let's scratch this one.
Takashi