Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99990

published high CVSS 3.1 · 7.8

ALSA: emux: Stop voices before freeing zones in all cases

Published
30 Nov 2026, 13:18:56 UTC
Updated
02 Dec 2026, 09:22:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c8d77ef2adc1c95a3afe318011b9714922f0d484 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2b8a2a687c004d44f480206cd9c8e717ea80a4bb · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 459f107441052ee763f6d022f895a55c3b8dc778 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 52a5c2159c57340395743af58ffd79d9d9decbeb · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7dff4e2578fee54e8244df7c93bf627ce160632d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16a74918f183297579e35d5de66ce5f426023bb6 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9 · 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.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 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

Description

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 snd_emux_send_effect(). For avoiding dangling pointers, the soundfont code calls the sample_reset callback to stop all voices before freeing zones. However, in a few cases (e.g. emu10k1's missing sample_reset or the call path via remove_info()), the sample reset isn't called properly, leaving the playing voices. Fix it by always registering the sample_reset callback, falling back to snd_emux_terminate_all() when the driver has no own ops, and by calling sample_reset in remove_info() before freeing the zones.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for 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 - Zones are freed through the local Emux hwdep ioctl. snd_emux_hwdep_ioctl() handles LOAD_PATCH REMOVE_INFO or WR_REPLACE, which reach remove_info(), and RESET_SAMPLES/REMOVE_LAST_SAMPLES, which reach snd_sf_clear() and snd_soundfont_remove_unlocked(). The stale voice is driven by local /dev/snd/seq events through snd_emux_event_input(). No remote peer is involved. AC:L - No race is involved. The attacker loads a looping sample with LOAD_PATCH, sends NOTEON so the voice stays ON indefinitely holding vp->zone/vp->block, frees with REMOVE_INFO or RESET_SAMPLES, then sends SOFT_PEDAL/NRPN or another note-on. Each step is a sequential call on fds the attacker owns, so it is repeatable and the attacker can groom the reclaim. PR:L - snd_hwdep_open(), snd_emux_hwdep_ioctl() and snd_seq_open() do not call capable(). The emux seq ports are created with SNDRV_SEQ_PORT_CAP_WRITE|SUBS_WRITE. Any local user who can open /dev/snd nodes (audio group or the seat uaccess ACL) can load, remove and play. Root is not needed. UI:N - The attacker opens the hwdep node and a sequencer client and performs every step (patch load, NOTEON, sample removal, effect or terminate event) themselves. No other user has to act. S:U - The dangling snd_sf_zone and snd_emu10k1_memblk are consumed by the host kernel in snd_emux_send_effect() and emu10k1 terminate_voice(). The corruption and its impact stay within the same kernel authority. C:H - snd_emux_send_effect() reads vp->zone->v.parm from the kfree'd snd_sf_zone. On emu10k1 the attacker reclaims the freed kmalloc-96 memblk, and the map_locked decrement on it can be turned into a secondary UAF of the reclaiming object, which opens wider kernel memory disclosure. I:H - emu10k1 has no sample_reset, so RESET_SAMPLES/REMOVE_LAST_SAMPLES free the memblk while vp->block still points to it. terminate_voice() then does map_locked-- at offset 40 of the freed 80-byte object, once per stale voice. This is an attacker-repeatable decrement in a reclaimable slab slot, a classic refcount-corruption write primitive. A:H - Both snd_emux_send_effect() (on vp->zone) and emu10k1 terminate_voice() (on vp->block) dereference freed slab objects. The terminate path writes into whatever object has reclaimed the slot, which can corrupt kernel state and oops the machine. The attacker can trigger this at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c8d77ef2adc1c95a3afe318011b9714922f0d484 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2b8a2a687c004d44f480206cd9c8e717ea80a4bb (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 459f107441052ee763f6d022f895a55c3b8dc778 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 52a5c2159c57340395743af58ffd79d9d9decbeb (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7dff4e2578fee54e8244df7c93bf627ce160632d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16a74918f183297579e35d5de66ce5f426023bb6 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9 (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.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ALSA: emux: Stop voices before freeing zones in all cases

Provenance

Schema
5.2
Searchable
yes
Content hash
a59bd35c0c0299c96b97a712698a3323050d3f60a8e191322440edbab4fb3f28
Ingested
02 Dec 2026, 09:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected