AZL-114956: CVE-2026-99484 affecting package kernel 6.6.161.1-1
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.
- Compensating control
In snd_emux_note_on(), hold sflist->lock across the entire soundfont zone lookup and voice setup; make snd_soundfont_search_zone() require the caller to hold the lock so zone removal synchronizes with note-on completion.