В ядре Linux устранена следующая уязвимость:
HID: intel-ish-hid: исправление паники ядра во время теплого сброса. Во время теплого сброса для устройства->fw_client установлено значение NULL. Если водитель автобуса
зарегистрирован после этой настройки NULL и до того, как будут установлены новые клиенты прошивки.
перечисленные ISHTP, паника ядра приведет к вызову функции
ishtp_cl_bus_match().
Это из-за ссылки на
устройство->fw_client->props.имя_протокола. Прошивка ISH после успешной загрузки отправляет теплый сброс
уведомление об удалении всех клиентов из шины и наборов
устройство->fw_client в NULL. До ядра версии 5.15 все ядра ISHTP включены.
Драйверы модулей загружались сразу после того, как любое из первых устройств ISHTP было загружено.
зарегистрирован, независимо от того, совпадающий он или несовпадающий
устройство. В результате все водители прошли регистрацию задолго до
уведомление о теплом сбросе от ISH. Начиная с ядра версии 5.16, эта проблема обнаружилась после внесения изменений.
введена возможность загрузки только драйверов шины для соответствующих устройств.
В этом сценарии устройство cros_ec_ishtp и драйвер cros_ec_ishtp
зарегистрировано после установки устройства теплого сброса fw_client NULL.
cros_ec_ishtp driver_register() запускает обратный вызов
ishtp_cl_bus_match() для сопоставления драйвера ISHTP с устройством и запуска ядра
паника в guid_equal() при разыменовании нулевого указателя fw_client для получения
имя_протокола.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: HID: intel-ish-hid: Fix kernel panic during warm reset During warm reset device->fw_client is set to NULL. If a bus driver is registered after this NULL setting and before new firmware clients are enumerated by ISHTP, kernel panic will result in the function ishtp_cl_bus_match(). This is because of reference to device->fw_client->props.protocol_name. ISH firmware after getting successfully loaded, sends a warm reset notification to remove all clients from the bus and sets device->fw_client to NULL. Until kernel v5.15, all enabled ISHTP kernel module drivers were loaded right after any of the first ISHTP device was registered, regardless of whether it was a matched or an unmatched device. This resulted in all drivers getting registered much before the warm reset notification from ISH. Starting kernel v5.16, this issue got exposed after the change was introduced to load only bus drivers for the respective matching devices. In this scenario, cros_ec_ishtp device and cros_ec_ishtp driver are registered after the warm reset device fw_client NULL setting. cros_ec_ishtp driver_register() triggers the callback to ishtp_cl_bus_match() to match ISHTP driver to the device and causes kernel panic in guid_equal() when dereferencing fw_client NULL pointer to get protocol_name.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 15
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16.1
|
6.1.25
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.2.12
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc7:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc8:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.3:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.3:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.3:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.3:rc6:*:*:*:*:*:*
|
— | — |