Re: [PATCH 0/2] ALSA: emux: fix use-after-free of soundfont zones/samples between snd_emux_note_on() and soundfont removal paths (UAF)

From: Takashi Iwai

Date: Tue Dec 01 2026 - 07:15:30 EST


On Tue, 01 Dec 2026 12:56:04 +0100,
徐晗翔 wrote:
>
> Update: this use-after-free no longer reproduces on v7.4-rc5 -- snd_emux_note_on() now holds sflist->lock across the whole zone-consumption window, and the same harness that produced 133 slab-use-after-free reports on 7.3 ran 33k+ soundfont removals against the note_on hammer with zero hits, so I consider this fixed in 7.4-rc5 and drop patch 2/2 (patch 1/2, the emu10k1 .sample_reset for the dangling-voice variant, is kept as a separate hardening suggestion).

OK, then could you submit the first patch in a proper format for
upstreaming?


thanks,

Takashi