В ядре Linux устранена следующая уязвимость:
pmdomain: mediatek: исправить оставшийся %pOF после of_node_put()
scpsys_get_bus_protection_legacy() ищет несколько устаревших шин
regmap защиты из узлов дерева устройств. Два пути к ошибкам помещают узел устройства перед проверкой того, включена ли regmap.
поиск не удался, но все же передать этот узел в dev_err_probe() с включенным %pOF
неудача. Если of_node_put() удаляет последнюю ссылку, более поздняя %pOF
форматирование может разыменовать освобожденный узел устройства.
Сохраняйте ссылку на узел до тех пор, пока сообщение об ошибке не будет выдано в пути поиска infracfg и SMI. Также перед этим удалите узел SMI. возвращается, когда файл SMI отсутствует.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: pmdomain: mediatek: fix remaining %pOF after of_node_put() scpsys_get_bus_protection_legacy() looks up several legacy bus protection regmaps from device-tree nodes. Two error paths put the device node before checking whether the regmap lookup failed, but still pass that node to dev_err_probe() with %pOF on failure. If of_node_put() drops the last reference, the later %pOF formatting can dereference a freed device node. Keep the node reference until after the error message has been emitted in the infracfg and SMI lookup paths. Also drop the SMI node before returning when the SMI phandle is missing.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.18
|
6.18.46
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.18
|
7.1.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.18
|
7.2
|