CVE-2026-99484
published high CVSS 3.1 · 7.8ALSA: emux: Fix UAF of soundfont zones at note-on
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 18eb027b711e8fb7b5771e78cecfb0d6b6eb023c · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 153547a5018726fa94e2fbe964fbf060006bac92 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < df85c9211220c7139ef6772686b0b7654b8c6cc2 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1f9da9df213fa13be38ad33b1a314767e43eed42 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 102b2474f4b6809be934bbf2428b4ae4f3883e32 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < af2b590be8feb62b5a0779dadd08e2ece5f370f2 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 34e3e04b8a1731a773797542f0781e99ce7cd755 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The zone is freed by the local ioctl SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES in snd_emux_hwdep_ioctl(), which calls snd_soundfont_remove_unlocked(), racing a SNDRV_SEQ_EVENT_NOTEON from snd_seq_write() through snd_emux_event_input() and snd_midi_process_event() into snd_emux_note_on(). Both of those entry points are local device operations. AC:L - The same user holds the hwdep fd and a sequencer client, loads an unlocked font with SNDRV_EMUX_IOCTL_LOAD_PATCH, and runs note-on concurrently with REMOVE_LAST_SAMPLES. Before the fix, snd_soundfont_search_zone() drops sflist->lock before snd_emux_note_on() uses the returned zone pointers, and note-on does not take presets_mutex, so the attacker controls both sides and can retry. PR:L - snd_hwdep_open(), snd_seq_open(), and snd_emux_hwdep_ioctl() do not call capable(). The emux port is created with SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_SUBS_WRITE, so a local user who can open the Emux WaveTable hwdep node and /dev/snd/seq can issue REMOVE_LAST_SAMPLES and deliver the note-on. UI:N - The attacker opens the hwdep node and /dev/snd/seq, loads the soundfont with SNDRV_EMUX_IOCTL_LOAD_PATCH, writes SNDRV_SEQ_EVENT_NOTEON, and issues SNDRV_EMUX_IOCTL_REMOVE_LAST_SAMPLES. Every step is their own action on those file descriptors. S:U - The dangling snd_sf_zone is consumed in the host kernel by snd_emux_note_on() and by emu10k1 start_voice(). The corrupted object and the impact both sit in that kernel security authority. C:H - snd_emux_note_on() copies the freed zone's soundfont_voice_info into vp->reg and, when zone->sample is non-NULL, reads sample->block. Reclaiming the kzalloc'd snd_sf_zone lets the attacker choose that pointer, and emu10k1 start_voice() then reads fields of the resulting snd_emu10k1_memblk. I:H - emu10k1 start_voice() casts vp->block, taken from the freed zone's sample, to snd_emu10k1_memblk and increments emem->map_locked. snd_emu10k1_memblk_map() then list_move_tails mapped_order_link when mapped_page >= 0, so a reclaimed zone becomes a kernel write and list corruption. A:H - snd_emux_note_on() and snd_emux_send_effect() dereference the snd_sf_zone after snd_soundfont_remove_unlocked() has kfree'd it, and start_voice() increments map_locked on the block pointer taken from that zone. Those kernel-context accesses oops the machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 18eb027b711e8fb7b5771e78cecfb0d6b6eb023c (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 153547a5018726fa94e2fbe964fbf060006bac92 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < df85c9211220c7139ef6772686b0b7654b8c6cc2 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1f9da9df213fa13be38ad33b1a314767e43eed42 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 102b2474f4b6809be934bbf2428b4ae4f3883e32 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < af2b590be8feb62b5a0779dadd08e2ece5f370f2 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 34e3e04b8a1731a773797542f0781e99ce7cd755 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/102b2474f4b6809be934bbf2428b4ae4f3883e32
- https://git.kernel.org/stable/c/153547a5018726fa94e2fbe964fbf060006bac92
- https://git.kernel.org/stable/c/18eb027b711e8fb7b5771e78cecfb0d6b6eb023c
- https://git.kernel.org/stable/c/1f9da9df213fa13be38ad33b1a314767e43eed42
- https://git.kernel.org/stable/c/34e3e04b8a1731a773797542f0781e99ce7cd755
- https://git.kernel.org/stable/c/af2b590be8feb62b5a0779dadd08e2ece5f370f2
- https://git.kernel.org/stable/c/df85c9211220c7139ef6772686b0b7654b8c6cc2
- https://git.kernel.org/stable/c/fb5ae914176d7252c9bd6aee7ab94a64a41ebf3b
Provider assertions
1Linux · cna
ALSA: emux: Fix UAF of soundfont zones at note-on
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 40c16830f5e80e17158934b34266138d462decf95aec5bf62b0125c54a5db85b
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record