{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99990","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.450Z","datePublished":"2026-11-30T13:18:56.170Z","dateUpdated":"2026-12-01T05:44:34.039Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:34.039Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: emux: Stop voices before freeing zones in all cases\n\nThe emux voice caches the soundfont zone pointer in vp->zone, which\nis referred to later, e.g. in snd_emux_send_effect().  For avoiding\ndangling pointers, the soundfont code calls the sample_reset callback\nto stop all voices before freeing zones.  However, in a few cases\n(e.g. emu10k1's missing sample_reset or the call path via\nremove_info()), the sample reset isn't called properly, leaving the\nplaying voices.\n\nFix it by always registering the sample_reset callback, falling back\nto snd_emux_terminate_all() when the driver has no own ops, and by\ncalling sample_reset in remove_info() before freeing the zones."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/synth/emux/emux.c","sound/synth/emux/soundfont.c"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c8d77ef2adc1c95a3afe318011b9714922f0d484","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"2b8a2a687c004d44f480206cd9c8e717ea80a4bb","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"459f107441052ee763f6d022f895a55c3b8dc778","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"52a5c2159c57340395743af58ffd79d9d9decbeb","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"7dff4e2578fee54e8244df7c93bf627ce160632d","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"16a74918f183297579e35d5de66ce5f426023bb6","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9","status":"affected","versionType":"git"},{"version":"0","lessThan":"5.10.275","status":"affected","versionType":"semver"},{"version":"0","lessThan":"5.15.226","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.1.193","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.6.163","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.12.117","status":"affected","versionType":"semver"},{"version":"0","lessThan":"6.18.63","status":"affected","versionType":"semver"},{"version":"0","lessThan":"7.3.4","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/synth/emux/emux.c","sound/synth/emux/soundfont.c"],"versions":[{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/c8d77ef2adc1c95a3afe318011b9714922f0d484"},{"url":"https://git.kernel.org/stable/c/d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1"},{"url":"https://git.kernel.org/stable/c/2b8a2a687c004d44f480206cd9c8e717ea80a4bb"},{"url":"https://git.kernel.org/stable/c/459f107441052ee763f6d022f895a55c3b8dc778"},{"url":"https://git.kernel.org/stable/c/52a5c2159c57340395743af58ffd79d9d9decbeb"},{"url":"https://git.kernel.org/stable/c/7dff4e2578fee54e8244df7c93bf627ce160632d"},{"url":"https://git.kernel.org/stable/c/16a74918f183297579e35d5de66ce5f426023bb6"},{"url":"https://git.kernel.org/stable/c/8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9"}],"title":"ALSA: emux: Stop voices before freeing zones in all cases","x_generator":{"engine":"bippy-1.2.0"}}}}