CVE-2026-99484
In the Linux kernel, the following vulnerability has been resolved: ALSA: emux: Fix UAF of soundfont zones at note-on snd_emux_note_on() looks up the matching …
Impact
In the Linux kernel, the following vulnerability has been resolved: ALSA: emux: Fix UAF of soundfont zones at note-on snd_emux_note_on() looks up the matching zones via snd_soundfont_search_zone(), 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 SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES ioctl may unlink and free those zones in snd_soundfont_remove_unlocked(); this leads to a use-after-free in snd_emux_note_on(), and later at accessing the cached vp->zone, e.g. in snd_emux_send_effect(). Fix it by holding sflist->lock in snd_emux_note_on() over the whole zone lookup and voice setup, and let snd_soundfont_search_zone() require the caller to hold the lock, instead. snd_soundfont_lock_preset() takes sflist->lock for setting presets_locked, so the removal path now syncs with the note-on finish.
Affected products · Linux
| Product | Affected versions |
|---|---|
| Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 102b2474f4b6809be934bbf2428b4ae4f3883e32 from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before af2b590be8feb62b5a0779dadd08e2ece5f370f2 from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 34e3e04b8a1731a773797542f0781e99ce7cd755 before 6.12.118 before 6.18.61 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://git.kernel.org/stable/c/102b2474f4b6809be934bbf2428b4ae4f3883e32
- https://git.kernel.org/stable/c/af2b590be8feb62b5a0779dadd08e2ece5f370f2
- https://git.kernel.org/stable/c/fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b
- https://git.kernel.org/stable/c/34e3e04b8a1731a773797542f0781e99ce7cd755
- https://github.com/advisories/GHSA-fxq9-6qjg-462g
- https://nvd.nist.gov/vuln/detail/CVE-2026-99484