CVE-2026-99484: ALSA: emux: Fix UAF of soundfont zones at note-on
In the Linux kernel, the following vulnerability has been resolved:
ALSA: emux: Fix UAF of soundfont zones at note-on
sndemuxnoteon() looks up the matching zones via sndsoundfontsearchzone(), which takes sflist->lock only during the lookup and returns the raw zone pointers after releasing it. The caller then stores them in vp->zone without any protection. Meanwhile, a concurrent SNDRVEMUXIOCTLREMOVELASTSAMPLES ioctl may unlink and free those zones in sndsoundfontremoveunlocked(); this leads to a use-after-free in sndemuxnoteon(), and later at accessing the cached vp->zone, e.g. in sndemuxsendeffect().
Fix it by holding sflist->lock in sndemuxnoteon() over the whole zone lookup and voice setup, and let sndsoundfontsearchzone() require the caller to hold the lock, instead. sndsoundfontlockpreset() takes sflist->lock for setting presetslocked, so the removal path now syncs with the note-on finish.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2