В ядре Linux была устранена следующая уязвимость: EDAC/altera: Fix use-after-free in error ways В обоих altr_edac_a10_device_add() и altr_portb_setup() путь ошибки освобождал dci-структуру перед освобождением devres-группы. Поскольку управляемые одно- и двухразрядные обработчики IRQ используют altdev(dci->pvt_info) в качестве своих данных, IRQ между освобождением dci и отменой регистрации IRQs может отменить привязку свободной памяти. Сначала отпустите группу devres, чтобы управляемый IRQs был незарегистрирован до освобождения структуры dci.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: EDAC/altera: Fix use-after-free in error paths In both altr_edac_a10_device_add() and altr_portb_setup(), the error path freed the dci structure before releasing the devres group. Since the managed single and double bit IRQ handlers use altdev(dci->pvt_info) as their data, an IRQ firing between freeing dci and unregistering the IRQs could dereference the freed memory. Release the devres group first so the managed IRQs are unregistered before the dci structure is freed.
Характеристики атаки
Последствия
Строка CVSS v3.1