Linux kernel
Злоумышленник может заставить систему обратиться к освобождённой памяти, что приведёт к сбоям или повреждению памяти.
Резюме написано моделью ИИ на cve.now и переведено автоматически.
Исправлено в версиях: 5.10.2755.15.2266.1.1936.6.1636.12.1176.18.637.3.4
| Linux | → исправлено в 5.10.275 → исправлено в 5.15.226 → исправлено в 6.1.193 → исправлено в 6.6.163 → исправлено в 6.12.117 → исправлено в 6.18.63 → исправлено в 7.3.4 |
| Linux | с 6.19 → исправлено в 7.3.4 с 6.13 → исправлено в 6.18.63 с 6.7 → исправлено в 6.12.117 с 6.2 → исправлено в 6.6.163 с 5.16 → исправлено в 6.1.193 с 5.11 → исправлено в 5.15.226 → исправлено в 5.10.275 |
Оригинальный заголовок: Linux kernel use-after-free in ALSA emux
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.