ALSA: emux: Stop voices before freeing zones in all cases
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c8d77ef2adc1c95a3afe318011b9714922f0d484 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2b8a2a687c004d44f480206cd9c8e717ea80a4bb Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 459f107441052ee763f6d022f895a55c3b8dc778 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 52a5c2159c57340395743af58ffd79d9d9decbeb Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 7dff4e2578fee54e8244df7c93bf627ce160632d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 16a74918f183297579e35d5de66ce5f426023bb6 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9 Affectedbefore 5.10.275 Affectedbefore 5.15.226 Affectedbefore 6.1.193 Affectedbefore 6.6.163 Affectedbefore 6.12.117 Affectedbefore 6.18.63 Affectedbefore 7.3.4 Affected |
| Linux Linux | 5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/c8d77ef2adc1c95a3afe318011b9714922f0d484
- https://git.kernel.org/stable/c/d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1
- https://git.kernel.org/stable/c/2b8a2a687c004d44f480206cd9c8e717ea80a4bb
- https://git.kernel.org/stable/c/459f107441052ee763f6d022f895a55c3b8dc778
- https://git.kernel.org/stable/c/52a5c2159c57340395743af58ffd79d9d9decbeb
- https://git.kernel.org/stable/c/7dff4e2578fee54e8244df7c93bf627ce160632d
- https://git.kernel.org/stable/c/16a74918f183297579e35d5de66ce5f426023bb6
- https://git.kernel.org/stable/c/8a5d87c2ba30e8de31cfbe888fd4d95f43c63db9
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.