В ядре Linux устранена следующая уязвимость:
Octeontx2-af: добавить проверку типа lmac. При смене физического канала прошивка сообщает ядру о
измениться вместе с такими деталями, как скорость, lmac_type_id и т. д. Ядро получает lmac_type на основе lmac_type_id, полученного из прошивки.
В некоторых случаях прошивка возвращает неверный lmac_type_id, что
приводит к панике ниже уровня ядра. Этот патч добавляет недостающее
проверка поля lmac_type_id. Внутренняя ошибка: К сожалению: 96000005 [#1] PREEMPT SMP
[ 35.321595] Модули, связанные с:
[ 35.328982] ЦП: 0 PID: 31 Связь: kworker/0:1 Не испорчено
5.4.210-g2e3169d8e1bc-грязный #17
[35.337014] Название оборудования: плата Marvell CN103XX (DT)
[ 35.344297] Рабочая очередь: события work_for_cpu_fn
[ 35.352730] pstate: 40400089 (nZcv daIf +PAN -UAO)
[ 35.360267] ПК: strncpy+0x10/0x30
[ 35.366595] lr: cgx_link_change_handler+0x90/0x180
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Add validation for lmac type Upon physical link change, firmware reports to the kernel about the change along with the details like speed, lmac_type_id, etc. Kernel derives lmac_type based on lmac_type_id received from firmware. In a few scenarios, firmware returns an invalid lmac_type_id, which is resulting in below kernel panic. This patch adds the missing validation of the lmac_type_id field. Internal error: Oops: 96000005 [#1] PREEMPT SMP [ 35.321595] Modules linked in: [ 35.328982] CPU: 0 PID: 31 Comm: kworker/0:1 Not tainted 5.4.210-g2e3169d8e1bc-dirty #17 [ 35.337014] Hardware name: Marvell CN103XX board (DT) [ 35.344297] Workqueue: events work_for_cpu_fn [ 35.352730] pstate: 40400089 (nZcv daIf +PAN -UAO) [ 35.360267] pc : strncpy+0x10/0x30 [ 35.366595] lr : cgx_link_change_handler+0x90/0x180
Характеристики атаки
Последствия
Строка CVSS v3.1