В ядре Linux устранена следующая уязвимость:
net: emac: исправлено разыменование нулевого указателя в emac_probe. Переместите devm_request_irq() после devm_platform_ioremap_resource(), чтобы
dev->emacp отображается до того, как обработчик прерывания сможет сработать. Ранний
прерывание, нажав emac_irq(), разыменует NULL dev->emacp и
авария.
Также удалите избыточное сообщение об ошибке. devm_platform_ioremap_resource()
уже возвращает сообщение об ошибке с помощью dev_err_probe().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net: emac: Fix NULL pointer dereference in emac_probe Move devm_request_irq() after devm_platform_ioremap_resource() so that dev->emacp is mapped before the interrupt handler can fire. An early interrupt hitting emac_irq() would dereference the NULL dev->emacp and crash. Also remove redundant error message. devm_platform_ioremap_resource() already returns an error message with dev_err_probe().
Характеристики атаки
Последствия
Строка CVSS v3.1