ALSA: emux: Stop voices before freeing zones in all cases
NIST has received this entry but not started reviewing it.
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.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c8d77ef2adc1c95a3afe318011b9714922f0d484; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2b8a2a687c004d44f480206cd9c8e717ea80a4bb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 459f107441052ee763f6d022f895a55c3b8dc778; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 52a5c2159c57340395743af58ffd79d9d9decbeb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7dff4e2578fee54e8244df7c93bf627ce160632d; and 9 more | c8d77ef2adc1c95a3afe318011b9714922f0d484; d41e43dbcc289a02c1c49fc5f7b7611fb1aa5cc1; 2b8a2a687c004d44f480206cd9c8e717ea80a4bb; 459f107441052ee763f6d022f895a55c3b8dc778 |
| Linux Linux | Software | not recorded |
The 7.8 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 8 sources for this flaw, none tagged as a vendor patch.