В ядре Linux устранена следующая уязвимость:
phylib: исправить потенциальное использование после освобождения
Commit bafbdd527d56 («phylib: добавить поддержку GPIO для сброса устройства») добавлен вызов
в phy_device_reset(phydev) после вызова put_device() в phy_detach().
В комментарии перед вызовом put_device() говорится, что phydev может пойти
прочь с помощью put_device().
Исправьте потенциальное использование после освобождения, вызвав перед этим phy_device_reset().
put_device().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(phydev) after the put_device() call in phy_detach(). The comment before the put_device() call says that the phydev might go away with put_device(). Fix potential use-after-free by calling phy_device_reset() before put_device().
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.16
|
4.19.228
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.20
|
5.4.176
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.96
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.19
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.16.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
|
— | — |