В ядре Linux устранена следующая уязвимость:
Вернуть «usb: typec: ucsi: добавить общую функцию ucsi_unregister_connectors()»
Недавний коммит 87d0e2f41b8c («usb: typec: ucsi: добавить общий
функция ucsi_unregister_connectors()") представила регрессию, которая
вызвало разыменование NULL при чтении sysfs источника питания. Это
устаревшая запись sysfs, которая должна была быть удалена, но осталась с NULL
оп. Коммит изменил обработку ошибок, чтобы пропустить записи после
NULL con->wq, и это оставляет устройство питания неактивным.
Для решения проблемы регрессии здесь применяется прямой возврат. Дальнейшие улучшения кода можно снова выполнить с нуля.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()" The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsi_unregister_connectors()") introduced a regression that caused NULL dereference at reading the power supply sysfs. It's a stale sysfs entry that should have been removed but remains with NULL ops. The commit changed the error handling to skip the entries after a NULL con->wq, and this leaves the power device unreleased. For addressing the regression, the straight revert is applied here. Further code improvements can be done from the scratch again.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.19
|
5.19.8
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:*
|
— | — |