CVE-2026-99990: ALSA: emux: Stop voices before freeing zones in all cases
In the Linux kernel, the following vulnerability has been resolved:
ALSA: emux: Stop voices before freeing zones in all cases
The emux voice caches the soundfont zone pointer in vp->zone, which is referred to later, e.g. in sndemuxsendeffect(). For avoiding dangling pointers, the soundfont code calls the samplereset callback to stop all voices before freeing zones. However, in a few cases (e.g. emu10k1's missing samplereset or the call path via removeinfo()), the sample reset isn't called properly, leaving the playing voices.
Fix it by always registering the samplereset callback, falling back to sndemuxterminateall() when the driver has no own ops, and by calling samplereset in removeinfo() before freeing the zones.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In Linux kernel ALSA emux, always register the sample_reset callback, falling back to snd_emux_terminate_all() when the driver has no own ops, and call sample_reset in remove_info() before freeing soundfont zones.