В ядре Linux устранена следующая уязвимость:
Thermal: of: исправление двойного освобождения при отмене регистрации
С момента фиксации 3d439b1a2ad3 («thermal/core: Alloc-copy-free the Thermal
структура параметров зоны"), Thermal_zone_device_register() выделяет
копию аргумента tzp и освобождает ее при отмене регистрации, поэтому
Thermal_of_zone_register() теперь приводит к утечке исходного tzp и
двойное освобождение копии tzp. Исправьте это, поместив tzp в стек.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: thermal: of: fix double-free on unregistration Since commit 3d439b1a2ad3 ("thermal/core: Alloc-copy-free the thermal zone parameters structure"), thermal_zone_device_register() allocates a copy of the tzp argument and frees it when unregistering, so thermal_of_zone_register() now ends up leaking its original tzp and double-freeing the tzp copy. Fix this by locating tzp on stack instead.
Характеристики атаки
Последствия
Строка CVSS v3.1